WebsiteBaker Support (2.10.x) > General Help & Support

how to deal with data-src

(1/1)

johnbroeckaert:
Since google is going to pay more and more attention to mobile first and the speed of a mobile site, I have looked into a way to integrate lazyload within the sites. Soon I come to the use of at least 2 images with different sizes. To be able to send that via a lazyload, most js scripts use code such as:

--- Code: ---<img
alt = "picture"
src = "low-quality.jpg"
data-src = "normal-quality.jpg"
class = "lazyload" />
--- End code ---
Do I get that done in WB without having to go to the source code every time?
Thanks

Navigation

[0] Message Index

Go to full version