Lazy loading makes your site load faster and saves bandwidth. Uses jQuery and degrades gracefully for non-js users. Works with both images and iframes
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: 3.9.1
Last Updated: 2014-5-31
2 of 13 support threads in the last two months have been resolved.
Got something to say? Need help?