Plugin info

Total downloads: 515,376
Active installs: 20,000
Total reviews: 53
Average rating: 4
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 9 language(s)
Contributors: 8
Last updated: 11/22/2018 (2595 days ago)
Added to WordPress: 11/24/2011 (14 years old)
Minimum WordPress version: 3.2
Tested up to WordPress version: 5.0.24
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 2595 days ago • 53 reviews

26/100

Is Lazy Load abandoned?

Possibly abandoned (last update 2595 days ago).

Compatibility

Requires WordPress: 3.2
Tested up to: 5.0.24
Requires PHP: f

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

Speed Up – Lazy Load
Rating 4.3/5 (12 reviews)Active installs 700

Description

Lazy load images to improve page load times. Uses jQuery.sonar to only load an image when it’s visible in the viewport.

This plugin is an amalgamation of code written by the WordPress.com VIP team at Automattic, the TechCrunch 2011 Redesign team, and Jake Goldman (10up LLC).

Uses jQuery.sonar by Dave Artz (AOL).

Installation

  1. Upload the plugin to your plugins directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Enjoy!

Frequently Asked Questions

How do I change the placeholder image

add_filter( ‘lazyload_images_placeholder_image’, ‘my_custom_lazyload_placeholder_image’ );
function my_custom_lazyload_placeholder_image( $image ) {
return ‘http://url/to/image’;
}

How do I lazy load other images in my theme?

You can use the lazyload_images_add_placeholders helper function:

if ( function_exists( 'lazyload_images_add_placeholders' ) )
    $content = lazyload_images_add_placeholders( $content );

Or, you can add an attribute called “data-lazy-src” with the source of the image URL and set the actual image URL to a transparent 1×1 pixel.

You can also use output buffering, though this isn’t recommended:

if ( function_exists( 'lazyload_images_add_placeholders' ) )
    ob_start( 'lazyload_images_add_placeholders' );

This will lazy load all your images.

Review feed

highprrrr
3/20/2019

Can't tell if it's working

I hate plugins that don't have any sort of settings or anything. I can't tell if it's actually doing anything. How can I check?

Screenshots

No screenshots available

Changelog

0.6.1

0.6

  • Filter to control when lazy loading is enabled

0.5

  • Fix lazyload_images_add_placeholders by adding missing return, props Kevin Smith
  • Lazy load avatars, props i8ramin
  • Don’t lazy load images in the Dashboard
  • Better compatibility with Jetpack Carousel

0.4

  • New helper function to lazy load non-post content
  • Prevent circular lazy-loading

0.3

  • Make LazyLoad a static class so that it’s easier to change its hooks
  • Hook in at a higher priority for content filters

0.2

  • Adds noscript tags to allow the image to show up in no-js contexts (including crawlers), props smub
  • Lazy Load post thumbnails, props ivancamilov

0.1

  • Initial working version