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

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288649
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