Click to See Complete Forum and Search --> : download an image


zigziglar
04-24-2003, 01:09 PM
I would like to click on a button, or link or the image itself to download it, thus eliminating the "right click...Save image as" step.

how can I do this???

thanks

pyro
04-24-2003, 01:11 PM
You will need to use some server side language to set some headers... I explain how to do it with PHP here: http://www.infinitypages.com/research/download.htm

zigziglar
04-24-2003, 01:24 PM
Sorry, but this does not help me at all.

I need something very simple like a javescript, or perhaps just something on the anchor that is going to force it to download.

pyro
04-24-2003, 01:29 PM
Well, your only other option is to zip the files...

zigziglar
04-24-2003, 01:33 PM
I was afraid you were going to say that...but I don't want to zip the files because I'm dealing with very amateur users.
I guess I can just put instructions on how to download them.

Thanks !

pyro
04-24-2003, 01:36 PM
Yup, those are about the extent of your options... Good luck!

zapdos900
04-24-2003, 07:28 PM
Why not right clickit and save it?

pyro
04-24-2003, 07:29 PM
Had you read his post, you would have known... :rolleyes:

Originally posted by zigziglar
thus eliminating the "right click...Save image as" step.