couldn't you just do the math? then set the size that way?
if you decrease them both by the same factor, you will end up
proportionatly the same sizes?

for ex.

orginal size: 400x350

new size less 10% : 360x315

simple to do.

using a tag like cfx_imgsize to get the h and w then doing some simple
math will do the trick
then throw those values into the img tag.

tony weeg
sr. web applications architect
navtrak, inc.
[EMAIL PROTECTED]
www.navtrak.net
office 410.548.2337
fax 410.860.2337


-----Original Message-----
From: Rick Faircloth [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 10, 2003 2:58 PM
To: CF-Talk
Subject: Image manipulation


Hi, all.

Ok...my head hurts from searching...I've checked the archives... Just
can't find the answer I need...

Is there any image manipulation tag that will allow the width to be
specified and have the height automatically sized so that the image
remains proportional?

Couldn't find that answer concerning ImageMagick...and Efflare might do
it, (haven't checked), but boy, Efflare's costly...

Almost all my resizing needs width specified and height automatically
calculated proportional to width...

Solutions?

Thanks,

Rick




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Get the mailserver that powers this list at 
http://www.coolfusion.com

Reply via email to