I have zero experience using ASP and I'm really stuck.
A client wanted an image gallery making with a load of thumbnails and when the visitor clicks on the thumbnail it prompts for a download.
I have made the gallery with all the thumbnails and put the thumbnail inside an <a> when the visitor clicks on the link it directs to download.asp and passes through the image name as a variable called image.
<a href="download.asp?images=file-name.jpg><img src="images/thumbnails/file-name.jpg" alt="" /></a>
So far I have managed to get the script to prompt for a download but the image was empty when i downloaded it so i tried to use Server.MapPath and now it doesn't work at all.
Here is download.asp
'Set variable image and get image name though the url
Response.ContentType = "image/jpeg"
Please could someone point me in the right direction.
Thanks a lot