Setting CSS classes on actual <IMG> elements

Hi, team.
The loading-lazy vs eager optional thing… Not coming?
Meanwhile, as you advise, there’s a chance to use plugins like Autoptimize. BUT Autoptimize and others exclude from lazy loading by class on the IMG itself, not in containers wrapping IMGs.
So if we want to make loading eager, having custom classes in IMG would make life much better.
Is there any hack for being able to get this? Perhaps, would you consider adding the option to set IMG classes in the element itself in next releases? Wishlist #1 item remains optional loading eager :slightly_smiling_face:

Thanks!

Hi Ricard,

Regretfully, there is no option to add the class directly to the img tag of the Image element.

Thanks

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