You are thinking too hard.  If you want to display that image, just use a
normal image tag...

<img src="http://www.lexus.com/images/home/mn_ph_sc_top.jpg" . . .

No ColdFusion required.

Jason

----- Original Message -----
From: "Mike Sullivan" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, March 22, 2001 2:39 PM
Subject: RE: retrieve remote images using cfhttp?


> have you tried 'resolveurl="true"'?  ie
> <cfhttp method="GET"
url="http://www.lexus.com/images/home/mn_ph_sc_top.jpg"
> resolveurl="true">
> mike
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
> > Sent: Thursday, March 22, 2001 1:06 PM
> > To: CF-Talk
> > Subject: retrieve remote images using cfhttp?
> >
> > i have been trying for the better part of the morning to figure out
where
> > i am going wrong with the CFHTTP tag.
> > i get a list of about 200 cars two times a week and the majority have
> > photos (with full url to other sites) but cant seem to figure out how to
> > get CFHTTP to download an image off of a remote site and save it locally
> > to my hard drive.
> >
> > suggestions? ideas? help???!!!
> >
> > here is my non-functional code so far... the header seems to return the
> > right info, and the mime type is also correct, but the filecontent makes
> > no sense to me whatsoever and i am unsure if i am doing this right, or
if
> > it is even possible with the CFHTTP tag, or if i should be using some
> > other tag, or if i should be using something from the allaire developer
> > exchange.
> >
> > <cfhttp method="GET"
> > url="http://www.lexus.com/images/home/mn_ph_sc_top.jpg"></cfhttp>
> > <cfoutput>
> > <hr>
> > #cfhttp.header#
> > <hr>
> > #cfhttp.filecontent#
> > </cfoutput>
> >
> >
> > thanks in advance.
> > peter
> >
> >
> >
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to