Possible Duplicate:
Force Download an Image Using Javascript
Basically I want to have the option for a user to just click a download button and download an image (rather having having to right-click or drag and drop). I read another post on here that offered a PHP solution, however if this can be done entirely in javascript I would much prefer that option. So, can it be done?