Downloading Image
-
I am generating a high resoulution image on the web server, which should be afterward downloaded onto users machine without displaying it in the browser and requiring user to make a right click and choosing "Save image as..." What would be the best aproach to do it? Sincerely Marek
-
I am generating a high resoulution image on the web server, which should be afterward downloaded onto users machine without displaying it in the browser and requiring user to make a right click and choosing "Save image as..." What would be the best aproach to do it? Sincerely Marek
use this: suppose ur image is at http://www.abc.com/images/my\_image.gif or C:\images\my_image.gif use a link or link button with image url like: function Message() { alert('Right click on link and save...'); return false; } Download Image Here
Regards, Rashida Jabeen http://www.akaas.net[^]
-
use this: suppose ur image is at http://www.abc.com/images/my\_image.gif or C:\images\my_image.gif use a link or link button with image url like: function Message() { alert('Right click on link and save...'); return false; } Download Image Here
Regards, Rashida Jabeen http://www.akaas.net[^]
i think my html code is not showing properly it is: function Message() { alert('Right click on link and save...'); return false; } <Download Image Here< replace < with single
Regards, Rashida Jabeen http://www.akaas.net[^]
-
use this: suppose ur image is at http://www.abc.com/images/my\_image.gif or C:\images\my_image.gif use a link or link button with image url like: function Message() { alert('Right click on link and save...'); return false; } Download Image Here
Regards, Rashida Jabeen http://www.akaas.net[^]
Thanks for help, but I actually do not want any user interaction, except for specifying name for data. When I make response.redirect("myzipfile.zip") and point to a zip file, the dialog for saving data locally appears. This ist what I want to see when I redirect to an image file, istead of displaying it. Marek
-
Thanks for help, but I actually do not want any user interaction, except for specifying name for data. When I make response.redirect("myzipfile.zip") and point to a zip file, the dialog for saving data locally appears. This ist what I want to see when I redirect to an image file, istead of displaying it. Marek