Ryan Stille wrote:
I see by looking at the documentation that action="write" is not
supported.  But I don't get an error, the page just hangs.  Is this
the expected behavior?

I'd think you should get an "action not supported" kind of error so if it just hangs, that's a bug. I'll check that out but if you're sure that's consistent behavior, please go ahead and submit a ticket for it.

Remember that cfimage was introduced in BD long ago, so the syntax introduced by Adobe in CF 8 isn't identical, though we should get that up to snuff from a compatibility standpoint in OpenBD.

Basically with actions like "edit" (actually anything other than "info"), since you have to provide both a srcfile and a destfile, whatever action you perform in the tag will write the file out to disk.

I'm sure you looked at this, but for reference check out the example at the very bottom of this page:
http://wiki.openbluedragon.org/wiki/index.php/CFIMAGE

Even though the action is "edit," because a destfile has to be provided, that will write the edited file out to disk.

Also it looks like the only accepted input types are png, gif, and
jpg, is this correct?  The code I'm working on is an image uploader,
I'm hoping to accept almost any image type (tiff and bmp at least) and
convert them to jpegs.

Based on what I know about the inner workings of the cfimage tag, I believe it currently does only support gif, jpg, and png. If you'd like to see support for other image types, be sure and submit an enhancement request for that.

Hope that helps,
Matt
--
Matthew Woodward
[email protected]
http://www.mattwoodward.com/blog

Please do not send me proprietary file formats such as Word, PowerPoint, etc. as attachments.
http://www.gnu.org/philosophy/no-word-attachments.html

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to