Try:

<cfhttp method="get"
url="http://images.realworks.nl/servlets/images/media.objectmedia/3803552?wi
dth=161&height=121" getasbinary="auto" result="result"/>
<cfcontent type="image/jpg">
<cfcontent
reset="true"><cfoutput>#ToString(result.Filecontent)#</cfoutput><cfabort>

Adrian
http://www.adrianlynch.co.uk/

-----Original Message-----
From: marc -- [mailto:[EMAIL PROTECTED]
Sent: 08 April 2008 14:12
To: CF-Talk
Subject: cfcontent gives my domainname instead of jpeg


Hi,
If I do this:

<cfhttp method="get"
url="http://images.realworks.nl/servlets/images/media.objectmedia/3803552?wi
dth=161&height=121" getasbinary="auto" result="result"/>
<cfcontent type="image/jpg">
<cfoutput>#result.Filecontent#</cfoutput>

I should get a picture of a house for sale.Instead I get a picture with this
text;
http//marc.local.realworks.nl

If I do this:

<cfhttp method="get"
url="http://images.realworks.nl/servlets/images/media.objectmedia/3803552?wi
dth=161&height=121" getasbinary="auto" output="result.FileContent"/>

I get what I expected.

Can anyone explain this???

CFMX 8
Win XP SP2
Apache 2.059
Firefox 2.0.0.13


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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:302929
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