Title: Image Download Functionality
Last modified: January 18, 2026

---

# Image Download Functionality

 *  Resolved [Winework](https://wordpress.org/support/users/winework/)
 * (@winework)
 * [4 months, 2 weeks ago](https://wordpress.org/support/topic/image-download-functionality/)
 * Hello David,
 * I have recently discovered that the functionality of our Image Library has changed
   and I would be very happy to receive your advice or that of anyone else who has
   experienced a similar issue.
 * **Page:** [https://www.wineworkimages.com/image-library/](https://www.wineworkimages.com/image-library/)
   
   Clicking on an image should, and has in the past, resulted in a “Save As” dialogue
   box, with which the user could navigate to the location on their device they 
   wish to save the image file.However, clicking on an image now opens a new browser
   tab showing the image file, which can then be saved using a right-click and selecting
   Save Image As from the menu.This is consistent across Chrome, Brave & Edge.The
   check boxes and “Download Everything I’ve Ticked – Now” button still function
   as intended.
 * Can you offer any advice to return the previous functionality?
 * Many thanks,
 * Colin Ford
   Winework Solutions Images
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fimage-download-functionality%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [David Lingren](https://wordpress.org/support/users/dglingren/)
 * (@dglingren)
 * [4 months, 2 weeks ago](https://wordpress.org/support/topic/image-download-functionality/#post-18791438)
 * Nice to hear from you again, although I regret the trouble you’re having with
   downloads.
 * I had a look at the page you referenced. The links around each image in the gallery
   include a bit of JavaScript, e.g. `onclick="ga('send', 'event', 'download', kumeu-
   river', 'WWKR6858.jpg');"` I’m not sure where this is coming from, but I think
   it is either no longer working or has changed in some way. Microsoft Copilot 
   says it might be a Google Analytics event tracking call. It also points out a
   missing quote mark before the `kumeu-river` parameter. Perhaps adding the quote
   will resolve the problem.
 * I hope that helps. I am marking this topic resolved, but please update it if 
   you have any problems or further questions regarding the above suggestion. Thanks
   for your continued interest in MLA.
 *  Thread Starter [Winework](https://wordpress.org/support/users/winework/)
 * (@winework)
 * [4 months, 2 weeks ago](https://wordpress.org/support/topic/image-download-functionality/#post-18794266)
 * Hello David,
 * Thank you for your help, once again.
   I managed to restore the wanted functionality
   by simply adding the download attribute to the markup template in MLA.
 *     ```wp-block-code
       Blah,blah... href="[+downloadlink_url+]" download target="_blank">
       ```
   
 * Regards,
   Colin
 *  Plugin Author [David Lingren](https://wordpress.org/support/users/dglingren/)
 * (@dglingren)
 * [4 months, 2 weeks ago](https://wordpress.org/support/topic/image-download-functionality/#post-18795326)
 * Thanks for your update with the good news regarding your solution. The “download”
   attribute is a simple and effective way to restore the earlier behavior. I didn’t
   suggest it because I believed you needed the Google Analytics `onclick `function
   to track downloads. Looking at your page today I see that the missing quote has
   not been added to your links, so the function call is still broken. If that’s
   a problem, the fix is easy.

Viewing 3 replies - 1 through 3 (of 3 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fimage-download-functionality%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/media-library-assistant/assets/icon-256x256.png?rev=973502)
 * [Media Library Assistant](https://wordpress.org/plugins/media-library-assistant/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/media-library-assistant/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/media-library-assistant/)
 * [Active Topics](https://wordpress.org/support/plugin/media-library-assistant/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/media-library-assistant/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/media-library-assistant/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [David Lingren](https://wordpress.org/support/users/dglingren/)
 * Last activity: [4 months, 2 weeks ago](https://wordpress.org/support/topic/image-download-functionality/#post-18795326)
 * Status: resolved