New course! Every coder should learn Generative AI!
Try a free lesson+ 1
If you are talking about how to add download button to any html page
You can do this
If your file name is "image.jpg" saved in the current working directory
<a href="image.jpg" download>download file</a>