CFImage cannot read take a filefield like CFFile can (for upload)...
However, CFImage source attribute CAN accept a binary blob type object.
Theoretically, you can get this directly out of the FORM data without
saving it to the system. If you forgo the CFFile upload portion, you
MIGHT be able to grab the binary file value directly out out of the
Request data.

Now, I don't know how to do this :) I don't know how you parse a
multipart form data object (which is what the request is at that point I
think). However, I don't think all this overhead is worth it. You might
as well just upload it, then use CFImage to resize and OVERWRITE the
uploaded file.

......................
Ben Nadel
Certified Advanced ColdFusion MX7 Developer
www.bennadel.com
 
Need ColdFusion Help?
www.bennadel.com/ask-ben/


-----Original Message-----
From: Rick Faircloth [mailto:[EMAIL PROTECTED] 
Sent: Sunday, November 04, 2007 5:28 PM
To: CF-Talk
Subject: RE: CF Image question...

I didn't know if there was some function that pulled the image into the
server, then resized it, stored the resized file and deleted the
original.

I guess all this is possible with the various functions.

I just didn't know if an intermediary step had been introduced to the
typical cffile upload process.

Rick

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion is delivering applications solutions at at top companies 
around the world in government.  Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292645
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to