Page titles background image attributes
-
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
Hi,
Could you please send us a link to your website where we can see this issue?
Kind Regards
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
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
OK, please contact us if you have any extra questions.
The topic ‘Page titles background image attributes’ is closed to new replies.