On Sun, May 16, 2010 at 2:50 PM, MikeyJ <[email protected]> wrote: > Can't find the right syntax to output the image to the > browser on the fly after resizing. Any help would be appreciated! > > CFCONTENT will do the trick. Here's an example of reading from disk and then sending the in-memory variable to the browser:
<cffile action="readbinary" file="/path/to/myimage.jpg" variable="foo" /> <cfcontent type="image/jpeg" variable="#foo#" /> -- Matthew Woodward [email protected] http://blog.mattwoodward.com identi.ca/Twitter: @mpwoodward Please do not send me proprietary file formats such as Word, PowerPoint, etc. as attachments. http://www.gnu.org/philosophy/no-word-attachments.html -- Open BlueDragon Public Mailing List http://www.openbluedragon.org/ http://twitter.com/OpenBlueDragon mailing list - http://groups.google.com/group/openbd?hl=en !! save a network - please trim replies before posting !!
