Share feedback, ideas and get community help

Updated 9 months ago

How to "Force Download" image (instead of open in tab)?

I have a button that opens a Jpeg image but I would like it to download it to the users device instead. Is there any way to do this?
In html I would do something like this:
<a href="mysite.com/image.jpg" download>Download</a>
Add a reply
Sign up and join the conversation on Discord