Ask a Question related to Macromedia ColdFusion, Design and Development.
-
Confused! #1
Resizing Images Dynamically
Hey everyone,
I need help on how to resize an image to a specified width. Normally I would
use something like...
<cfoutput><img src="user_files/#user_name#/images/#user_image#.gif"
width="150" alt="#user_name#" /></cfoutput>
This would indeed achieve my width attribute, BUT it would throw the image out
of proportion. Is there any way I can set the width to 150px and then
proportionally set the height attribute too?
For example, the template recieves the link for the image which is 200px by
300px...the width would be 150px, so I take 50px off that but then the height
would have to be calculated resulting in 250px.
Anyone have any ideas on how to do this?
Many thanks in advance!!
Confused! Guest
-
Resizing Images From a database
Hi, can anyone help me? I have a load of images in a database which is linked and displayed to a webpage, but the images are all one size (too... -
Resizing Placed Images
Hi, Would someone be able to tell me please what the difference is between the two pick tools in the upper right hand palatte? I find that... -
Dynamically Resizing Frames Help
Hello, I am working on a implementation that dynamically resizes frames based off a client trigger. (in this case a textbox) The implementation... -
Resizing Images
You are probably expecting too much from 32x32 pixels. Work at that size to begin with. Icon sized images must be quite simple. It's a whole area... -
resizing images using ASP component
Is there any possibility to resize images using ASP? I provided one of my clients with a Content Management System using SAFileup and although I... -
cf_menace #2
Re: Resizing Images Dynamically
When you manually fix the width and/or height attributes of the <img> tag, all
you're doing is displaying the full-size image within the boundaries you've
specified.
If you want to actually alter the file's size or create a copy as a thumbnail,
it gets more involved. For instance, you can call standard java libraries to
manipulate the image or you can use the
[url]http://www.alagad.com/index.cfm/name-aic[/url], which simplifies that process.
cf_menace Guest
-
MikerRoo #3
Re: Resizing Images Dynamically
Thanks, Manace.
I was looking for something like this and somehow missed Alagad.
MikerRoo Guest



Reply With Quote

