Home Forums WoodMart support forum Page titles background image attributes

Page titles background image attributes

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #700379

    metuza
    Participant

    Hello,

    I have added atribute fetchpriority=”high” to page title background images as google pagespeed recommends that. It works great but i have found that attribute decoding=”async” also is added to the images and that is not good for LCP.

    So i am wondering if attribute decoding=”async” is added by Woodmart and if so, how can i remove it?

    Brgds
    Rune

    #700457

    Artem Temos
    Keymaster

    Hi,

    Could you please send us a link to your website where we can see this issue?

    Kind Regards

    #700464

    metuza
    Participant

    Hello,

    Yes you can see it here in my staging site: https://stg-arcticfritidas-staging.kinsta.cloud/butikken/

    And this is how it looks like:
    <img width="1200" height="463" src="https://stg-arcticfritidas-staging.kinsta.cloud/wp-content/uploads/2024/10/header-bakgrunn-1200-463.jpg-1.webp" class="attachment-full size-full" alt="Velkommen til Arctic Fritid AS | Arctic-Fritid.as" decoding="async" fetchpriority="high" srcset="https://stg-arcticfritidas-staging.kinsta.cloud/wp-content/uploads/2024/10/header-bakgrunn-1200-463.jpg-1.webp 1200w, https://stg-arcticfritidas-staging.kinsta.cloud/wp-content/uploads/2024/10/header-bakgrunn-1200-463.jpg-1-768x296.webp 768w, https://stg-arcticfritidas-staging.kinsta.cloud/wp-content/uploads/2024/10/header-bakgrunn-1200-463.jpg-1-850x328.webp 850w, https://stg-arcticfritidas-staging.kinsta.cloud/wp-content/uploads/2024/10/header-bakgrunn-1200-463.jpg-1-103x40.webp 103w, https://stg-arcticfritidas-staging.kinsta.cloud/wp-content/uploads/2024/10/header-bakgrunn-1200-463.jpg-1-80x31.webp 80w" sizes="(max-width: 1200px) 100vw, 1200px">

    Anyway, i have done several tests and it seems not to have any problematic impact.

    Brgds
    Rune

    #700484

    Artem Temos
    Keymaster

    This attribute is added by the WordPress core. Read more information here https://make.wordpress.org/core/2023/10/18/image-loading-optimization-enhancements-in-6-4/

    #700503

    metuza
    Participant

    Hello,

    Yes but i was not able to remove it using their filter, but i see now that WP is using another filter for that purpose. Anyway, it does not harm LCP so you can close this ticket.

    Thank you 🙂

    Brgds
    Rune

    #700537

    Artem Temos
    Keymaster

    OK, please contact us if you have any extra questions.

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Page titles background image attributes’ is closed to new replies.