I send all my uploads to a /cache folder for processing.. I ALWAYS forget to
make it on the prod server :-)

..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com

-----Original Message-----
From: Rick Faircloth [mailto:[EMAIL PROTECTED] 
Sent: Monday, December 03, 2007 10:57 AM
To: CF-Talk
Subject: RE: Which way is the correct way to write this code?

Thank God, He looks after idiots...

I didn't have the destination folder on my production
server as I did on my development server.

So, the problem was a missing destination folder.

Hmmm... I wonder if I could write the code, so that if a folder
is not present that is present as a destination, it is
automatically created?

???

Rick


> -----Original Message-----
> From: Rick Faircloth [mailto:[EMAIL PROTECTED]
> Sent: Monday, December 03, 2007 10:41 AM
> To: CF-Talk
> Subject: Which way is the correct way to write this code?
> 
> 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
> 
> 
> 
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Check out the new features and enhancements in the
latest product release - download the "What's New PDF" now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

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