lets say i have some url to a image on the web. lets say... url is "http://hd.wallpaperswide.com/thumbs/abstract_crystal_structure-t2.jpg"
Now I want when a user press a download button, he the image will be downloaded.
I've tried this..
window.location.href = Link;
But sometimes it just opens the image on the browser.. sometimes download is provided as it's expected.
How to achieve..