• Resolved deepakem

    (@deepakem)


    The page linked above, I have my blog posts listed. They are in a pagination scheme where the next pages are appended to the page on click of a button.

    The problem is that the images in the newly appended blog post aren’t loaded when lazy load is enabled. When it’s disabled, the images load fine.

    What is the work around for this? I have tried triggering a ‘post-load’ event as suggested by this stackoverflow answer.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor James Huff

    (@macmanx)

    At the moment, our Lazy Loading is not entirely compatible with all themes. In this case, I recommend just switching off “Enable Lazy Loading for images” at Jetpack > Settings > Performance in your site’s Dashboard.

    Thread Starter deepakem

    (@deepakem)

    I can understand that it doesn’t work with some theme in with it’s usual functionality, but there must be some other way to trigger the load after the AJAX call succeeds.

    The lazy load function is important for site’s performance.

    • This reply was modified 5 years, 6 months ago by deepakem.
    Plugin Support KokkieH

    (@kokkieh)

    Hi there,

    There might be a workaround, but we don’t know of any, which is why our recommendation, if Lazy Load is not compatible with your theme, is to switch it off.

    If that Stackoverflow answer is not working for you, you can try asking there – your theme might be doing these calls in a different way than the ones used by the people who posted on that thread.

    There might also be another lazy load plugin you can use instead of Jetpack that works better with your theme.

    https://www.ads-software.com/plugins/search/lazy+load/

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Lazy load images with AJAX load’ is closed to new replies.