Apply specific <img> attribute to the all images

Hello, I would like to add decoding=“auto” attribute to all tags on my website. Could you please advise where I can do this? Thanks

all img* tags

Hi Adwin,

Thanks for reaching out.

Unfortunately, that’s not currently possible especially on the builder content. Could be done but with custom development that we can’t provide here in the forum.

But isn’t it the Auto is the default value even without decoding property? I have read this https://medium.com/@jeffochoa/this-is-what-i-just-learned-about-htm-async-img-9fbd9e831967 as well. Since it’s a new feature, and similar to script optimization, then I guess this is something that should be implemented by cache and optimization plugin. Like only adds it when optimization is enabled, then turn it off once not needed.

Thanks!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.