• Resolved GeeDave

    (@geedave)


    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='https://mywebsite.com/images/reveal/liveaudio/' id="id1"]
    
    [audio mp3="https://mywebsite.com/wp/wp-content/uploads/mysong.mp3"][/audio]
    
    [reveal]

    Any suggestions? What am I missing?

    David

    https://www.ads-software.com/plugins/simple-content-reveal/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author David Artiss

    (@dartiss)

    Are you able to provide a link to where this is happening?

    David.

    Thread Starter GeeDave

    (@geedave)

    Hi Dartiss–

    Sure, there’s an example here:

    https://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

    (@dartiss)

    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

    (@geedave)

    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

    (@dartiss)

    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.

    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.