Here is a sample I have:
<CFX_Image ACTION="RESIZE" file="#img1#" output="#img2#" quality="75" width="90"> <CFX_Image ACTION="RESIZE" file="#img1# output="#img2#" quality="85" width="270"> -----Original Message----- From: Larry C. Lyons [mailto:[EMAIL PROTECTED] Sent: Friday, March 07, 2003 7:49 PM To: CF-Community Subject: RE: CFX_Image Thanks Rick, here's the error message I keep getting: Error occurred in tag CFX_IMAGE Unexpected error occurred while processing tag. The cause of this error is yet unknown. no idea why I'm getting this error. I use the almost the same code as your example. When I go back to work on Monday, I'll give your example a try. thx, larry >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 Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5
