Page 1 of 1

invoking "Save Target As" dynamically on an image

Posted: Wed Mar 03, 2004 3:20 pm
by pythone
Hello

I was wondering whether it is possible to invoke the "Save Target As" option (the one accessed via right-clicking a file) on an image in a page.
That is, if the user clicks on a link/button the behaviour should be as if the user right-clicked an image and chose "Save Target As" (on IE of course), i.e. open the save file dialog.

thanks

Posted: Wed Mar 03, 2004 3:23 pm
by John Cartwright
Probably a javascript. Not php.

Posted: Wed Mar 03, 2004 3:28 pm
by redhair
Phenom wrote:Probably a javascript. Not php.
PHP could also do that job
It has something to do with using the right headers.
..not my specialty.