Lazy Load not working for some images

Some of my images are not working with the Lazy Load feature, can you check?

Thanks in advance.

  • Predrag Dubajic
    • Support

    Hi Jeffrey,

    We have passed this over to our developers so they can check the theme used and see if there’s anything that could be done from our end to get the Lazy Load feature to work with it.

    Please note that developer response might be slower than usual staff response, so we appreciate your patience on this.

    Best regards,

    Predrag

  • Kostas
    • CTO

    Hi Jeffrey Seymour ,

    I’ve taken a look at the themes code and most of the images are either statically placed “within” the code or loaded via custom code without using the proper WordPress methods for images ( for example post_thumbnail_html or get_the_post_thumbnail ). These images won’t be able to be read by LazyLoad to have it properly functioning.

    As an easy example any image that is added within a post or widget should be lazyloaded properly but the ones in the sliders and some other areas that are customly coded will not.

    Unfortunately this is a theme-coding issue that has to be taken care of by your developers making sure to use the WordPress native image functions for all images that need to be loaded within the website.

    On a further note, there are some JS errors coming from the theme from various scripts that are trying to run and are not properly loaded via jQuery, as well as that there’s already another LazyLoading functionality from WP Rocket that might as well be conflicting even if the theme is properly set up in the future.

    Regards,

    Konstantinos