Hello Jayesh,

Thank you for your quick response! I'll try it out, and continue on with
this program!

Kind regards,

Rick Sanders
President
Canada: 902-401-7689
USA:       919-799-9076
Canada: www.webenergy.ca
USA:       www.webenergyusa.com

-----Original Message-----
From: Jayesh Viradiya [mailto:[EMAIL PROTECTED] 
Sent: September-17-07 6:51 PM
To: CF-Talk
Subject: RE: CF 8 Image resize help

Hi Rick,

Your code should be as below as below and it should work. Inside
ImageResize() function, you should pass the image Object created through
ImageNew() function...that is, "thumb" and not "oldthumb". "oldthumb" is
a filename/path which is not accepted by ImageResize function.


<cfset oldthumb = "#cffile.ClientFileName#.#cffile.ClientFileExt#">
<cfset thumb=ImageNew("E:\websites\ironwillsports\thumbs\#oldthumb#")>
<cfset ImageResize("#thumb#","","75","mitchell",1)>

<cfimage source="#oldthumb#" action="write" 
destination="E:\websites\ironwillsports\thumbs\#cffile.ClientFileName#.#
cffi
le.ClientFileExt#" overwrite="yes">

Thanks & Regards
Jayesh Viradiya
Adobe CF Team



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Check out the new features and enhancements in the
latest product release - download the "What's New PDF" now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288661
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to