Title: Optimole breaking shortcode button functionality
Last modified: July 15, 2024

---

# Optimole breaking shortcode button functionality

 *  Resolved [diaz1510](https://wordpress.org/support/users/diaz1510/)
 * (@diaz1510)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/optimole-breaking-shortcode-button-functionality/)
 * I have a page on my site where my logged-in users can download high quality images
   needed for various purposes. On this page, I have a small thumbnail of the larger
   images along with some buttons that will directly download the higher quality
   image on-click of the button. These buttons are created using shortcode. The 
   entire point of the image download feature is to have a very high image quality
   that can be used on media other than online (posters, apparel, vehicle wraps,
   etc.), so having those downloaded images at the highest resolution possible (
   and hence, very large file sizes) is important.
 * I noticed that, after awhile, on-click of the button, my images would no longer
   download, but simply “open in the same window”. This isn’t the behavior I want.
   After some research, I realized that the on-click behavior of the button is now
   opening a file that has been optimized by Optimole, with a completely new link
   that isn’t what I have the button-click linking to. As I’m unsure if it’s the
   Image Handling or Lazy Load feature of Optimole that is casuing this, when I 
   simply disable both in the settings, the direct-download behavior of the buttons
   returns to normal.
 * When I re-enable both in Optimole, the undesired behavior returns, but not until
   sometime later, almost as if it takes some time for Optimole to do a “sweep” 
   of all the images on my site.
 * I would prefer to keep the benefits of using Optimole and simply turn off the
   image handling for the single “Download” page that is causing this issue.
 * I’m unable to provide a link to the page as it is only accessed by logged-in 
   users, however I have some screenshots of what I am referring to.
 * ![](https://i0.wp.com/www.sbfreaks.org/wp-content/uploads/2024/07/Untitled.jpg?
   ssl=1)
 * Above is a screenshot of the URL that is being requested when Optimole is enabled.
   When clicking on the button the arrow is pointing to, the image simply opens 
   in the same window, without actually downloading.
 * ![](https://i0.wp.com/www.sbfreaks.org/wp-content/uploads/2024/07/Untitled2.jpg?
   ssl=1)
 * Above is a screenshot of the correct URL when Optimole is disabled for the site.
   The image directly downloads properly when clicking the button the arrow is pointing
   to.
 * Thank you for any help you can provide.
    -  This topic was modified 1 year, 11 months ago by [diaz1510](https://wordpress.org/support/users/diaz1510/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Foptimole-breaking-shortcode-button-functionality%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [Kush](https://wordpress.org/support/users/kushnamdev/)
 * (@kushnamdev)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/optimole-breaking-shortcode-button-functionality/#post-17890843)
 * Hey [@diaz1510](https://wordpress.org/support/users/diaz1510/)
 * Thank you for contacting us.
 * To test the issue, access to the site is necessary, but it appears to be in member-
   only mode, making it inaccessible. Can you please contact us through this link:
   [Optimole Contact](https://optimole.com/contact) ?
 * Please include the link of this thread in the message.
 * Thank you!
 *  Thread Starter [diaz1510](https://wordpress.org/support/users/diaz1510/)
 * (@diaz1510)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/optimole-breaking-shortcode-button-functionality/#post-17891042)
 * The website is not LIVE at the moment and put into maintenance mode. I did respond
   to the link you provided, however.
 *  Thread Starter [diaz1510](https://wordpress.org/support/users/diaz1510/)
 * (@diaz1510)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/optimole-breaking-shortcode-button-functionality/#post-17896939)
 * Are you getting my emails? I responded to your email but haven’t heard back in
   a few days.
 *  Plugin Support [Kush](https://wordpress.org/support/users/kushnamdev/)
 * (@kushnamdev)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/optimole-breaking-shortcode-button-functionality/#post-17897030)
 * I replied to you on the emails.

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

The topic ‘Optimole breaking shortcode button functionality’ is closed to new replies.

 * ![](https://ps.w.org/optimole-wp/assets/icon-256x256.gif?rev=3013666)
 * [Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization](https://wordpress.org/plugins/optimole-wp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/optimole-wp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/optimole-wp/)
 * [Active Topics](https://wordpress.org/support/plugin/optimole-wp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/optimole-wp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/optimole-wp/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Kush](https://wordpress.org/support/users/kushnamdev/)
 * Last activity: [1 year, 10 months ago](https://wordpress.org/support/topic/optimole-breaking-shortcode-button-functionality/#post-17897030)
 * Status: resolved