Author Topic: how to deal with data-src  (Read 2002 times)

Offline johnbroeckaert

  • Posts: 218
  • Gender: Male
how to deal with data-src
« on: February 07, 2018, 08:33:38 AM »
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: [Select]
<img
alt = "picture"
src = "low-quality.jpg"
data-src = "normal-quality.jpg"
class = "lazyload" />
Do I get that done in WB without having to go to the source code every time?
Thanks
It is a happy talent to know how to play!

 

postern-length