Rocket Lazy Load

Description

Lazy Load displays images on a page only when they are visible to the user. This reduces the number of HTTP requests mechanism and improves the loading time.

This plugin works on thumbnails, all images in a post content or in a widget text, avatars and smilies. No JavaScript library such as jQuery is used and the script weight is less than 6kb.

Simply install the plugin to enjoy a faster website. No options are available: you install it and the plugin takes care of everything.

Related Plugins

  • Imagify: Best Image Optimizer to speed up your website with lighter images.
  • WP Rocket: Best caching plugin to speed-up your WordPress website.

Installation

  1. Upload the complete rocket-lazy-load folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

FAQ

How can i deactivate Lazy Load on some pages?

You can use do_rocket_lazyload filter.

Here, an example to put in functions.php files :

add_action( 'wp', 'deactivate_rocket_lazyload_on_single' );
function deactivate_rocket_lazyload_on_single() {
    if ( is_single() ) {
        add_filter( 'do_rocket_lazyload', '__return_false' );
    }
}
How can i deactivate Lazy Load on some images?

Simply add a ‘data-no-lazy=”1″‘ property in you IMG tag.

Reviews

From “Oh My!” to “Oh No!”

UPDATE:
I apparently spoke too soon. As it turns out the performance boost I thought was the result of this plugin seems to have been from uninstalling another plugin which presumably allowed WP Super Cache to work more efficiently. This plugin was, as it turns out, not even “turned on” yet. I assumed it was “on” by default originally. once I turned it on, however, it did the same thing that the previous two plugins (mentioned below) did to a couple of parallax images on the site. Like the previous 2 lazy load plugins, when I deactivated it, the images were corrected and page stopped stuttering as I scrolled down the page. Therefore, I have to change my previous 5 star rating to a more realistic 1 star since the plugin did more harm than good.

Original Review:
I don’t know what this plugin does that’s different from similar plugins, but I tried a couple, skipped over a number of others (which hadn’t been updated in a long time) and finally tried this one (almost ready to give up on the whole concept of a lazy page loader). The couple I tried not only didn’t seem to do anything to speed up my site, but goofed up some images/graphics on my site. Once I tried this one (Rocket Lazy Load), however, my site not only worked correctly but, as a one page parallax, it actually (finally) got pretty peppy! I also have WP Super Cache installed which didn’t seem to do much either. Again, I have no idea what makes this work, but on my site anyway (which is still being developed), it works and has made a huge difference. I was beginning to give up hope on having a quick site, but this has given me reason to hope that by the time I get the site completed, it may actually be user-friendly…we’ll see how it goes as I move forward.

Works very well

Very good plugin that does what is expected of it: a delayed display of images.
I also like to be able to disable the function on some pages because sometimes the lack of pictures may disappoint the visitor (eg on a tourist map)
The ideal would be to display the image from its location begins to appear when the visitor scrolls.

Breaks Design

As others have mentioned, it breaks the design of the page. My info graphics get scattered across the page. May work on simple pages, though.

Read all 28 reviews

Contributors & Developers

“Rocket Lazy Load” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.1.1

  • 13 feb. 2017
  • Bug fix: Remove use of short tag to prevent 500 error on some installations

1.1

  • 12 feb. 2017
  • New
    • JS library updated
    • Support for iFrame
    • Support for srcset and sizes
    • New options page

1.0.4

  • 28 apr. 2015
  • Bug Fix: Resolved a conflict between LazyLoad & Emoji since WordPress 4.2

1.0.3

  • 08 jan. 2015
  • Bug Fix: Don’t apply LazyLoad on captcha from Really Simple CAPTCHA to prevent conflicts.

1.0.2

  • 28 dec. 2014
  • Improvement: Add « rocket_lazyload_html » filter to manage the output that will be printed.

1.0.1.1

  • 25 jul. 2014
  • Fix stupid error with new regex in 1.0.1

1.0.1

  • 16 jul. 2014
  • Bug Fix: when a IMG tag or content (widget or post) contains the string “data-no-lazy”, all IMG tags were ignored instead of one.
  • Security fix: The preg_replace() could lead to a XSS vuln, thanks to Alexander Concha
  • Code compliance

1.0

  • 01 jan. 2014
  • Initial release.