• Resolved mcxg46

    (@mcxg46)


    I’m still having trouble with images inside popup triggers. Now the image is appearing twice!

    One loads immediately, the other a few seconds later, using this code for example:

    <p>[popup_trigger id="1005" tag="span"]<img class="alignright size-full wp-image-356" src="https://www.middleearthgames.com/mewp/wp-content/uploads/galadriel.png" alt="" width="100" height="100" />[/popup_trigger]</p>

    Can you help?

    Thanks.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Kim L

    (@kimmyx)

    Hi @mcxg46,

    Can you try removing the / from the closing sign?

    Your shortcode should now look like this:

    [popup_trigger id="1005" tag="span"]<img class="alignright size-full wp-image-356" src="https://www.middleearthgames.com/mewp/wp-content/uploads/galadriel.png" alt="" width="100" height="100">[/popup_trigger]

    Let us know if this helps!

    Thread Starter mcxg46

    (@mcxg46)

    Thanks for getting back to me.

    However, I’m afraid it didn’t help.

    Looking at the source, the entire <img class...> line is somehow being duplicated by the popup maker.

    Plain text inside a popuptrigger is not duplicated.

    It used to work fine, until the plugin version where images vanished entirely.

    Plugin Support Kim L

    (@kimmyx)

    Hi @mcxg46,

    Thanks for the update.

    Could you try switching to a default WP theme and see if the issue persists?

    If you have any caching mechanisms, kindly purge/clear them too.

    We tested it on our local environment but couldn’t replicate the issue. Please see: https://share.getcloudapp.com/8LugZvNp

    Let us know how it goes.

    Thread Starter mcxg46

    (@mcxg46)

    Hi,

    Changing to a default theme and purging the cache didn’t fix the issue.

    However, deactivating all my other plugins did fix it. And I’ve tracked it down to the lazy load feature of the SitegroundOptimizer plugin.

    So I’ve disabled that, installed a different lazy load plugin, and it is all working fine again.

    Thanks for your help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Duplicate Images’ is closed to new replies.