Lazy-loading images
-
Hi Lester,
I would like to know if you consider adding loading=”lazy” to img tags, which is default behavior since WordPress 5.5
But this requires that the img tags have height and width attributes, which is not the case at the moment. Without these attributes it could cause layout shifts.
There is a post of the WordPress team about this topic: https://make.www.ads-software.com/core/2020/07/14/lazy-loading-images-in-5-5/
Would be a great addition to your plugin.
- The topic ‘Lazy-loading images’ is closed to new replies.