Lazy loading for images and iframes makes your site load faster and saves bandwidth. Uses no external JS libraries and degrades gracefully for non-js
If you have images output in custom templates or want to lazy load other images in your theme, you may pass the HTML through a filter:
<?php $img_html = '<img src="myimage.jpg" alt="">'; $img_html = apply_filters( 'bj_lazy_load_html', $img_html ); echo $img_html; ?>
Note for developers: The filter has a priority of 10.
Requires: 3.5 or higher
Compatible up to: 4.3.1
Last Updated: 3 months ago
Active Installs: 30,000+
0 of 15 support threads in the last two months have been resolved.
Got something to say? Need help?