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
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5
                                

Reply via email to