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
Last Updated: 2013-11-14
9 of 15 support threads in the last two months have been resolved.
Got something to say? Need help?