• Hi

    My core web vitals are highlighting mobile loading issues re LCP and from analysis it appears the issue is that my above the fold images are being lazy loaded later in the lifecycle causing a slow LCP and an unhappy Google.

    I used to use Auto optimise but removed it. In the past 6 months I am using WP Rocket which is great on Astra theme and the latest version of www.ads-software.com. It offers an ability to switch off lazy loading by post BUT I only want to turn it off for the above the fold (so main image and logo).

    My page speed insights performance is 98 with just this issue highlighted.

    I have looked at this forum and can only see reference to sorting the issue using Auto optimise which I do not use due in main to me liking WP Rocket and also there is a compatability issue.

    Can you help. Please note I am not technically great so if it involves addition of code please talk me through it.

    Many thanks indeed

    Rupert

    • This topic was modified 2 years, 9 months ago by Yui. Reason: moved to fixing wordpress

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello Rupert,

    According to the official WP Rocket blog post, you can disable the lazy loading of a specific image by adding this attribute in the <img>.

    data-no-lazy="1"

    So if you have an HTML say:

    <img src="my-image.jpg" width="100" height="100" />

    You can simply add the attribute:

    <img src="my-image.jpg" data-no-lazy="1" width="100" height="100" /> and the lazy loading will be disabled.

    If you need further help, I suggest to going to their official support channel. In order to be good stewards of the WordPress community, and encourage innovation and progress, we feel it’s important to direct people to those official locations.

    https://wp-rocket.me/support/

    Forum volunteers are also not given access to commercial products, so they would not be able to test and reproduce your concern. This is one other reason why volunteers forward you to the commercial product’s vendors. The vendors are responsible for supporting their commercial product.

    Thread Starter rdiggins

    (@rdiggins)

    Many thanks – case closed

    You’re welcome ??! If your question has been answered, we would love if you would mark this topic as resolved in the sidebar. This helps our volunteers find the topics that still need attention and more people will get helped, possibly like you did.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Turn Off Lazy Load Above The Fold’ is closed to new replies.