You could do something like this...
 
<!--- pass in file name from URL or load via ID from database --->
<cffile action="" file="#filePath##fileName#" variable="myfile" >
 
<cfheader name="Content-Type" type="bad/type" >
<cfheader name="Content-Disposition" value="attachment; fileName=#fileName#" ><cfoutput>#myfile#</cfoutput>
 
or maybe just
 
<cfcontent type="bad/type" file="#filePath##myFile#" >
 
might do the job too...
 
Pat
 
"Armstrong Steven" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]...
Hey All,
 
I have a webpage with a series of thumbnails where I would like the user to be able to download an image when it is clicked on (rather than open the image in a new browser window).
 
Any ideas or suggestions would be greatly appreciated.
 
Thanks,
 
Steve
---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to