A good alternative would be to resize the original to something just larger than 100x150, say 105x150 or 100x154 (whichever site is longest), then crop the remaining pixels to fit the intended size. Once the photo is that small they're not going to notice much difference between 150 pixels and 154 pixels.
-----Original Message----- From: Tom Chiverton [mailto:[EMAIL PROTECTED] Sent: Thursday, May 24, 2007 10:21 AM To: CF-Talk Subject: Re: Renaming Files with CFFILE On Thursday 24 May 2007, Andy Matthews wrote: > If you resize an image to 100x150 it'll skew the ratio unless you crop it. Easy and obvious solutions include resizing to something slightly different (102x147) but with the same aspect, or using CSS to do the cropping if the CF solution can't. But yeah, clients are pains - nice to be have enough work that you can feel you can drop them - means you have the power, not them ! -- Tom Chiverton Helping to enormously innovate global ROI on: http://thefalken.livejournal.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| ColdFusion MX7 and Flex 2 Build sales & marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:279083 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4