Dude, why are you trying to put the image inside the image tag? Isn't that
just for the image source, a.k.a. the link to where the image is, and not
the actual binary data of the image itself?

I mean, if that's what you really want, why not cffile read the image in and
output it that way instead of messing with the pageContext.

>From what I can tell you're describing is happening, is that when you change
the content type to image/jpeg, that becomes the new content type for the
whole entire page, even though you put in HTML. This is correct and normal,
as there is only 1 pageContext per request - you can only deliver one type
of content to the client, and usually that's text/html with links to
image/jpeg files. If you change it, that's changed for the whole file being
downloaded.

Now if you're really still doing this, why then are you using getPageContext
instead of using the cfcontent tag, possibly followed by a cfheader?

nathan strutz
[Blog and Family @ http://www.dopefly.com/]
[AZCFUG Manager @ http://www.azcfug.org/]



On Tue, Feb 3, 2009 at 12:58 AM, cf coder <[email protected]>wrote:

> "OutputImage


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318934
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