Are you sure the file size isn't changing? It could be that it's actually changing but somehow caching the old file information.
How are you viewing the file size? Right clicking on the image and looking at properties through the browser? If so, then IE (at least) does cache file info sometimes. <!----------------//------ andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --------------//---------> -----Original Message----- From: Mark Flewellen [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 11, 2006 3:21 AM To: CF-Talk Subject: Re: ImageCFC My code is very similar to yours Dave, I upload the file to the server using cffile, I then rename the file to something suitable. What I am finding is that when I use the scaleX or scaleY tag it rescales the image perfectly, however the filesize doesn't change. This only occurs if the source and the destination are the same. The component works perfectly if the destination is not the same as the source. <cfinvoke component="#application.mapping#image" method="scaleX" returnvariable="scaleXRet" objImage="" inputFile="/var/www/vhosts/?domainname?/httpdocs/assets/uploads/images/image " outputFile="/var/www/vhosts/?domainname?/httpdocs/assets/uploads/images/imag e" newWidth="#form.size#" jpegCompression="#application.image_quality#"></cfinvoke> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256263 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

