[Resolved] Performance Issues – Image Size

Home Forums Support [Resolved] Performance Issues – Image Size

Home Forums Support Performance Issues – Image Size

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2362479
    Ernst Wilhelm

    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

    No longer newbie with generatepress

    #2363091
    Ying
    Staff
    Customer Support

    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.

    #2363246
    Ernst Wilhelm

    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.

    No longer newbie with generatepress

    #2363291
    Ying
    Staff
    Customer Support

    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 ๐Ÿ™‚

    #2363627
    Ernst Wilhelm

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

    No longer newbie with generatepress

    #2369089
    Ying
    Staff
    Customer Support

    You are welcome ๐Ÿ™‚

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.