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/image" 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:256224 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

