Hello @vicrus
The Lazy Load module will handle images added via the “img” tag, and in addition to that, it will handle any “background-image” that is added in the element’s style=””. It will not work for background images used in external CSS files.
Examples:
This will work:
<img src="imagepath/image.jpg" />
or
<div style="background-image: url(imagepath/image.jpg);">Something</div>
or
<div class="my-class">Something</div>
<style>.my-class { background-image: url(imagepath/image.jpg); }</style>
This won’t work:
<div class="my-class">Something</div>
In a .css file
.my-class { background-image: url(imagepath/image.jpg); }
Hope that clarifies things better!
Thank you,
Dimitris