data-srcset instead of srcset
-
Hello
Is there a way to change srcset to data-srcset instead using the picture markup?
The reason is, we use lazysizes to load the images as they appear.
lazySizes needs data-srcset or another custom attribute otherwise, the browser already would load something.Any way we can change this as an attribute when echoing the picture element?
Thanks
Aldo
Viewing 12 replies - 1 through 12 (of 12 total)
Viewing 12 replies - 1 through 12 (of 12 total)
- The topic ‘data-srcset instead of srcset’ is closed to new replies.