Not Found The requested URL /slides/getImage.cfm/jack.gif was not found on this server.
Philip Arnold Technical Director Certified ColdFusion Developer ASP Multimedia Limited Switchboard: +44 (0)20 8680 8099 Fax: +44 (0)20 8686 7911 www.aspmedia.co.uk www.aspevents.net An ISO9001 registered company. ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ********************************************************************** > -----Original Message----- > From: Troy Simpson [mailto:[EMAIL PROTECTED]] > Sent: 28 May 2002 17:30 > To: CF-Talk > Subject: Download an Image > > > I want to grab an image which is located on a backend server > and send it > to the client browser. In this case, I can not simple send an <img > src="" alt="" border="0"> tag in an html page (for reasons I can't get > into and you probably do not want to hear about it anyway). > > In this case, I'm using <cfhttp> to get the binary file > (image) from the > backend server and using <cfcontent> to push the binary file to the > client browser. Here is the code in my template: > > Begin getImage.cfm > ------------------------------------------------ > <cfsetting enablecfoutputonly="Yes" showdebugoutput="No" > catchexceptionsbypattern="No"> > > <cfhttp url="http://www.ncsu.edu/design/slides/AccessDenied.gif" > method="GET" resolveurl="false"></cfhttp> > <!--- > <pre> > <cfoutput>#cfhttp.header#</cfoutput><br> > <cfoutput>--'#cfhttp.FileContent#'--</cfoutput> > </pre> > ---> > <cfcontent type="image/gif" > reset="YES"><cfoutput>#cfhttp.FileContent#</cfoutput> > ---------------------------------------------------- > End of getImage.cfm > > Here is an example of a URL that one would use: > http://www.ncsu.edu/design/slides/getImage.cfm/jack.gif > > All I get is a page with an outlined box in place where the > image is to > go. I get no image. I'm able to view the properties when I > right click > in the area where the image should be. > > Any ideas. > Thanks. > > Sincerely, > Troy > > > -- > ------------------------- > Troy Simpson > Applications Analyst/Programmer > Microsoft Certified Systems Engineer > Oracle Certified Professional DBA > North Carolina State University Libraries > Campus Box 7111 | Raleigh | North Carolina > ph.919.515.3855 | fax.919.513.3330 > E-mail: [EMAIL PROTECTED] > > > ______________________________________________________________________ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

