• Resolved estin92

    (@estin92)


    If a website is being optimised with lazy loading (i.e. via W3TC), the masonry layout breaks due to off-screen images only being loaded when they come into the viewport.

    I can confirm adding class="skip-lazy" to the <img /> tags in gs-pinterest-portfolio/gs-pinterest-assets/includes/templates/gs_pinterest_structure_one.php fixes the issue.

    It would be useful if the plugin could add support for a “lazyload” attribute, i.e. lazyload="1" or lazyload="0", to toggle such a class on a case-by-case basis.

    I had tried to find a GitHub repository to create a PR but couldn’t find one.

    • This topic was modified 3 years, 2 months ago by estin92.
    • This topic was modified 3 years, 2 months ago by estin92.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Add class to skip lazy loading’ is closed to new replies.