+ 7
How to add a direct download button for images on my web page ???
Images that we link to our web code are displayed there but how can we make it directly downloadable from our web code... Is it possible to create a download button which allows the viewers to directly download the content image ???
3 Réponses
+ 6
It's supported in modern browsers only (except IE). The following example is for an image that is present in a file.
<a download="image_name" href="/path/to/image" title="Download image">
<img alt="Image_Name" src="/path/to/image">
</a>
+ 9
<a download=”file”></a>
+ 5
Thanks to all