I'm going to look into the HTTP Proxy Debugger

As for my code, I believe I have all bases covered:

dsp_setImage.cfm -->
<cfquery name="getImage" datasource="#request.DSN#">
SELECT attachment
FROM images
WHERE task_index = #attributes.dTaskIndex#
</cfquery>

<cfcontent type="image/jpeg" variable="#getImage.attachment#" reset="true">



dsp_view.cfm -->
<img src="Web/Uploads/dsp_setImage.cfm?dTaskIndex=#attributes.dTaskIndex#" 
border="0" width="300" height="200">

This leads to a broken image.

When I add the query and cfcontent to the actual dsp_view page, then the image 
takes over the ENTIRE display -- hiding the header, footer, navigation and 
other content associated with that file.

Cheers.
-c

>Chris,
>
>
>I'm pretty confident the problem is your getting extra whitespacing
>somewhere in your output. Use an HTTP Proxy Debugger (like Fiddler or Live
>HTTP Headers) to actually examine the data being served from the server.
>
>Also, you might try adding the "type" attribute to the <cfcontent /> tag to
>specify the mime type.
>
>-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:254094
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