Hi,all.

(CF8)

I've been using this code successfully (at least I'm fairly certain I tested
it initially.this was final testing), but now I'm getting an error:

Error Occurred While Processing Request

The C:\websites\bodaford-homes\images\buyers_guide\original\original3
image format is not supported on this operating system.

Use GetReadableImageFormats() and GetWriteableImageFormats() to see which image 
formats are
supported.

The error occurred in C:\websites\bodaford_sm\cfm\buyers_guide_add_confirm.cfm: 
line 68

66 :                            
67 :    <cfimage action="resize" height="" width="150" 
source="#rbgo##cffile.serverfile#"
68 :            destination="#wbg150##cffile.clientfilename#_w150.jpg" 
overwrite="yes">
69 :    <cfset form.section_photo_w150="#cffile.clientfilename#_w150.jpg">


I don't know why it's seemingly using "original3" as the file sans extension.
Do I need to put write the destination as:
destination="#wbg150##cffile.clientfilename#"&"_w150.jpg"
???


I tried it this way:

66 :                            
67 :    <cfimage action="resize" height="" width="150" 
source="#rbgo##cffile.serverfile#"
68 :            destination="#wbg150#" name="#cffile.clientfilename#_w150.jpg" 
overwrite="yes">
69 :      <cfset form.section_photo_w150="#cffile.clientfilename#_w150.jpg">

But I got the same error.

The image I'm uploading is a simple .jpg.

Thanks,

Rick



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

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