Support » Plugin: SG Optimizer » Problem with magnific popup images

  • Resolved Nicholas Marmonti


    Hi there,
    in my site i’m using magnific-popup JS for enlarge the images after a click (the plugin shows a in-page-modal with the same image clicked; is not a different file but the same image in full size).

    When the lazy load features of SG plugin is enabled there is a problem with the images in modal pop-up: the opened images is not displayed correctly bacause of the HTML code point to a wrong destination. This is a sample:

    <figure><img class="mfp-img" alt="Data GIF Maker rectangles" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" style="max-height: 675px;"><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure>

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Hristo Pandjarov


    SiteGround Representative

    Please, check the plugin’s main page. There’s a filter which allows you to exclude certain parts from the lazy load. In upcoming updates, we will add those exclusions to the interface but meanwhile, you can use the filters.

    Hi Hristo,
    this is a good way to resolve temporarily the bug but it would be great to fix this problem in future updates.


Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Problem with magnific popup images’ is closed to new replies.