WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.10.x) »
  • General Help & Support »
  • how to deal with data-src
  • Print
Pages: [1]   Go Down

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

johnbroeckaert

  • Guest
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
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.10.x) »
  • General Help & Support »
  • how to deal with data-src
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2