Make a link download an image


I tried to make a link download an image, but all it does is open the image in the tab, it doesn’t download it…

<a href="" download="V2Map">Download</a>

I looked into it and it says if it’s on a different domain you can’t download in Chrome, and since projects are hosted on and images are hosted on this is a problem, any ideas how to fix this?


You could encode the image with base64 :thinking: