How to make an image downloadable by clicking a button
When creating a post on a wordpress website with the Divi theme, you can allow your users to download an image (picture) by linking to it with the text module. Unfortunately this is not currently possible with the Divi button module as it doesn’t support the download attribute.
Here are two ways to approach making easily downloadable images.
Use a text or code module with html
Use the following html and add Divi’s et_button class to make it into a button.
<a href="/wp-content/uploads/filename.jpg" download="image-name" target="_blank" class="et_pb_button">Download</a>