BJ Lazy Load 'background-image' images?
-
Hello,
Can someone give me an example on how to enable lazy load for background-image?This is the code I want to lazy load
‘<div class=”latest-article-images” style=”background-image: url(‘<?php the_post_thumbnail_url(‘medium’); ?>’)” itemprop=”image” itemscope itemtype=”https://schema.org/ImageObject”></div>’Thanks you,
- The topic ‘BJ Lazy Load 'background-image' images?’ is closed to new replies.