Site logo

Archived topic

Performance Issues - Image Size

5 replies · Started by Ernst Wilhelm on October 4, 2022

Viewing posts 1–6 of 6

I 've customized a blog content template referring to the post featured image which should take the thumbnail size into consideration for the blog. GTmetrix is indicating issues with

  • properly sized images
  • Don't lazy load Largest Contentful Paint image

Here's the report https://gtmetrix.com
Similar for pagespeed https://pagespeed.web.dev/

Can you give me some feedback on this?

Homepage

Hi there,

You are using the WP featured image block in the content template, can you try using GB's image block, enable its dynamic data, and set it to the featured image? You can choose the thumbnail file for it.

The WP posts featured image block is grabbing the full-size image.

Ying. Thank you, that helps. Do you have an idea for my 2nd question. Because of the lazy loading. I am not aware of any lazy loading seeing on my side.

Looking forward to your guidance.

We can use this filter to disable WP's lazy loading, but it will remove the lazy load from all images.

add_filter( 'wp_lazy_loading_enabled', '__return_false' );

If you want to do more specific settings for image lazy loading, it's better to use the lazy load function of a cache plugin :)

Hi. Many thanks. I was not aware of the general change made by the WordPress team regarding lady load.

You are welcome :)

This archived topic is closed to new replies.