Dan, Thanks for the feedback.
Unfortunately, I have tried this too. I've even taken this solution and placed it into its own file (dsp_getImage.cfm). Then in the calling cfm page, used an <img src="dsp_getImage.cfm"> to display the image. The image returns broken. I have a feeling the image "url" isn't read correctly due to how fusebox sets up its URLs. Except i'm not sure how to get around it. If i end up finding a solution I'll post it here for other fusebox coders. Cheers. -c >Chris, > > >I don't use Fusebox, but a couple of tips: > >* Use <cfcontent reset="true" /> to clear the output buffer. This will make >sure that any whitespace generated before the <cfcontent /> is erased. > >* Use <cfabort /> to halt further execution. > >So, you code should look something like: > ><!--- Determine image to retrieve ---> ><cfset ...> > ><!--- Get image ---> ><cfquery datasource="mydsn" name="image"> >SELECT imageData >FROM table >WHERE ... ></cfquery> > ><!--- Set MIME type to GIF or JPEG or ... ---> ><cfcontent > reset="true" > variable="image.imageData" > ... > /><cfabort /> > >Note how the <cfabort /> tag is right after the <cfcontent /> tag. > >-Dan ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:254077 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

