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.5
Last Updated: 12 months ago
Active Installs: 40,000+
0 of 7 support threads in the last two months have been marked resolved.
Got something to say? Need help?