This takes the uploaded image and creates a Thumbnail 40pxls wide. <cfset imagepath="e:\Website\#UserDir#\Images\"> <cfset thumbpath="e:\Website\#UserDir#\thumbs">
<cffile destination="e:\Website\#UserDir#\" accept="image/gif,image/pjpeg" action="UPLOAD" nameconflict="overwrite" filefield="Pic1"> <cfx_image action="iml" file="#imagepath#\#FILE.ServerFile#" commands=" resize 40 write #thumbpath#\#prefix##FILE.ServerFile# "> Rick Eidson -----Original Message----- From: Larry C. Lyons [mailto:[EMAIL PROTECTED] Sent: Friday, March 07, 2003 5:18 PM To: CF-Community Subject: CFX_Image Hi all, does anyone have an example of resizing an image using CFX_Image? thx, larry ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=5 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=5 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5
