Templates
Wiki
Help
Add-ons
Download
Home
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
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 7325 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