Title: Button image breaks when clicked?
Last modified: August 30, 2016

---

# Button image breaks when clicked?

 *  Resolved [GeeDave](https://wordpress.org/support/users/geedave/)
 * (@geedave)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/button-image-breaks-when-clicked/)
 * Hi–
 * I just installed the plugin for the first time. Looked great until I clicked 
   to show content—then the image disappeared and was replaced by a “broken image”
   icon, as though the image file had been lost. Weirdly, it stayed broken after
   I clicked again, so neither image1 nor image2 displays after clicking.
 * I even tried referencing my own images, but I get the exact same behavior with
   this code—my “image1” shows up until I click the link, then neither image displays:
 *     ```
       [reveal heading="%image%" img_url='http://mywebsite.com/images/reveal/liveaudio/' id="id1"]
   
       [audio mp3="http://mywebsite.com/wp/wp-content/uploads/mysong.mp3"][/audio]
   
       [reveal]
       ```
   
 * Any suggestions? What am I missing?
 * David
 * [https://wordpress.org/plugins/simple-content-reveal/](https://wordpress.org/plugins/simple-content-reveal/)

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

 *  Plugin Author [David Artiss](https://wordpress.org/support/users/dartiss/)
 * (@dartiss)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/button-image-breaks-when-clicked/#post-6703150)
 * Are you able to provide a link to where this is happening?
 * David.
 *  Thread Starter [GeeDave](https://wordpress.org/support/users/geedave/)
 * (@geedave)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/button-image-breaks-when-clicked/#post-6703156)
 * Hi Dartiss–
 * Sure, there’s an example here:
 * [http://davidmglasgow.com/wp/shop/singles/god-abides-in-your-eyes/](http://davidmglasgow.com/wp/shop/singles/god-abides-in-your-eyes/)
 * Obviously I’m just testing things here, as the layout’s kinda whonky, but that
   orange “Live Audio” button is the one we’re looking at.
 * David
 *  Plugin Author [David Artiss](https://wordpress.org/support/users/dartiss/)
 * (@dartiss)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/button-image-breaks-when-clicked/#post-6703164)
 * I can see the issue (and, tbh, it’s what I thought it was going to be) – Photon!
   It’s a part of Jetpack and caches images. It then re-writes the image URLs on
   your site to direct them to their cached version. In this case, because my plugin
   manipulates the URL to switch between the different images, it’s breaking because
   it’s simply modifying the new Photon URL which isn’t set up for the images you’ve
   provided.
 * I hope that makes sense.
 * The only way around it for now is to switch off Photon. However, I’ve just Googled
   and found a way to suppress Photon for certain images so I’ll add that into the
   next release of this plugin to see if it helps at all.
 * David.
 *  Thread Starter [GeeDave](https://wordpress.org/support/users/geedave/)
 * (@geedave)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/button-image-breaks-when-clicked/#post-6703165)
 * Aha. Glad it was easily identified, at least. Let me see what effect turning 
   off Photon has on the rest of the site—shouldn’t be too horrendous, as I’m not
   too image-heavy.
 * Thanks!
 * David
 *  Plugin Author [David Artiss](https://wordpress.org/support/users/dartiss/)
 * (@dartiss)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/button-image-breaks-when-clicked/#post-6703168)
 * Yes, sadly Photon doesn’t add any ability to exempt images from the admin screens–
   I’m sure it used to, though 🙁 I was only aware of this because I’ve seen the
   same thing occur on my own site.
 * David.
 *  [Coded Art](https://wordpress.org/support/users/codedart/)
 * (@codedart)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/button-image-breaks-when-clicked/#post-6703352)
 * The latest release now includes options to stop Photon from controlling the images
   used by this plugin.
 * David.

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

The topic ‘Button image breaks when clicked?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/simple-content-reveal_ddcec4.svg)
 * [Content Reveal](https://wordpress.org/plugins/simple-content-reveal/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-content-reveal/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-content-reveal/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-content-reveal/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-content-reveal/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-content-reveal/reviews/)

## Tags

 * [broken image](https://wordpress.org/support/topic-tag/broken-image/)
 * [Image URL](https://wordpress.org/support/topic-tag/image-url/)

 * 6 replies
 * 3 participants
 * Last reply from: [Coded Art](https://wordpress.org/support/users/codedart/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/button-image-breaks-when-clicked/#post-6703352)
 * Status: resolved