I have an image like this:
<img src="data:image/jpeg;charset=utf-8;base64,/9j...">
When I right click on the image and choose 'save as', the save dialog comes up with "download.jpg" as the filename. I'd like to choose a different default filename. Adding a download
tag on the img element doesn't seem to work. Is there some way to add a name to this?
I've seen this, but its about <a>
tags: Is there any way to specify a suggested filename when using data: URI?