meravkn
asked on
"Save Picture As" code
Hi,
On my application, the user gets to see a photo on a pop up window, and I would like them to click on a button that says "Download this photo", What I would like then to happen is that it will open the same box that's being opened if I right click on the picture and choose "save picture as". Is there a way to do that?
Thanks!!!
Meravkn
On my application, the user gets to see a photo on a pop up window, and I would like them to click on a button that says "Download this photo", What I would like then to happen is that it will open the same box that's being opened if I right click on the picture and choose "save picture as". Is there a way to do that?
Thanks!!!
Meravkn
I dont think you can.. It will be a security breach if you allow your we page write files in your client
yup you can not do this. But what you can do it when someone click on image tell them save it
<img src="abnc.gif" onClick="alert('Please right Click and choose save as')">
<img src="abnc.gif" onClick="alert('Please right Click and choose save as')">
ASKER
What if I use API?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks all!
Meravkn
Meravkn