Title: SARVAROV Lazy Load
Author: Roman Sarvarov
Published: <strong>13, Agostu de 2019</strong>
Last modified: 23, Mayu de 2020

---

Guetar plugins

![](https://ps.w.org/sarvarov-lazy-load/assets/banner-772x250.png?rev=2145134)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/sarvarov-lazy-load/assets/icon-256x256.png?rev=2145134)

# SARVAROV Lazy Load

 By [Roman Sarvarov](https://profiles.wordpress.org/rom4i/)

[Download](https://downloads.wordpress.org/plugin/sarvarov-lazy-load.zip)

 * [Details](https://ast.wordpress.org/plugins/sarvarov-lazy-load/#description)
 * [Reviews](https://ast.wordpress.org/plugins/sarvarov-lazy-load/#reviews)
 *  [Installation](https://ast.wordpress.org/plugins/sarvarov-lazy-load/#installation)
 * [Development](https://ast.wordpress.org/plugins/sarvarov-lazy-load/#developers)

 [Support](https://wordpress.org/support/plugin/sarvarov-lazy-load/)

## Description

This plugin is the best way to make your images, iframes & videos lazy. Just activate
the plugin and lazy loading will work automatically. It’s very simple, just try 
it!

### THIS PLUGIN WILL MAKE YOUR SITE FASTER

All your media content will be loaded only when it’s in the browser viewport. Also
you can hide loading process from visitors at all: the lazy elements can be loaded
invisibly before the user reaches it.

### THIS PLUGIN WILL MAKE YOUR SITE LOOK BETTER

In just one click your can enable blurred LQIP (inspired by [Medium](https://medium.com/))
and average color placeholder. Both of them look very modern & interesting.

#### Main features

 * Speed up your blog, improve its PageSpeed Insights score
 * Change style of placeholder, animation, transition etc.
 * Make placeholder color based of the average color
 * LQIP technology (Low Quality Image Placeholders)
 * `<noscript>` for visitors who don’t have a JavaScript enabled
 * Using the [Lazysizes](https://github.com/aFarkas/lazysizes) library and a lot
   of hooks give the possibility for customization to make the result the way you
   want
 * High-quality code
 * SEO friendly
 * Mobile friendly
 * Low server load (due to caching)

## Screenshots

[⌊A small demonstration of what can be done.⌉⌊A small demonstration of what can 
be done.⌉[

A small demonstration of what can be done.

[⌊Settings page.⌉⌊Settings page.⌉[

Settings page.

## Installation

 1. Upload the complete `sarvarov-lazy-load` folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. You can configure the plugin by clicking on the ‘Lazy Load’ link in the ‘Settings’
    menu.

## FAQ

### Will that plugin work on any template?

I hope so, but might be not. I originally made this plugin for myself and I tested
it only on latest WordPress release on the default Twenty Fifteen theme. If you 
have compatibility issues with my plugin and your theme – just write me and I will
try to fix it on next update.

### Why isn’t LQIP technologue working?

LQIP (Low Quality Image Placeholders) is working only on newly uploaded images (.
jpg & .jpeg). If you want to make it work with existing images, you need to regenerate`
lqip` image size using a third-party plugin like [Regenerate Thumbnails](https://ru.wordpress.org/plugins/regenerate-thumbnails/).

### How to make lazy custom images/iframes?

You can create a custom function like this:

    ```
    function my_lazy_process( $content = '', $params = array() ) {

        if( class_exists( 'SARVAROV_Lazy_Load' ) ) {
            return apply_filters( 'lazy_process', $content, $params );
        }

        return $content;
    }
    ```

### Will this plugin affect SEO?

Definitely Yes, in a positive way. The pages of your site will load faster, which
positively affects the indexing of your site by search engine robots. The plugin
has no effect on image indexing: search engines see them, don’t worry!

### How to add Schema.org vocabulary?

For example:

    ```
    add_filter( 'sarvarov_lazy_load_image_container_atts', function( $atts ) {
        $new_atts = array(
            'itemprop' => array(
                'value' => 'image'
            ), 
            'itemscope' => array(
                'value' => 'itemscope'
            ), 
            'itemtype' => array(
                'value' => 'http://schema.org/ImageObject'
            )
        );

        $atts = array_merge(
            $atts,
            $new_atts
        );

        return $atts;
    }, 10, 1 );

    add_filter( 'sarvarov_lazy_load_image_container', function( $content = '', $img_width, $img_height, $atts ) {
        if( $img_width && $img_height ) {
            $content .= sprintf( '<meta itemprop="width" content="%1$d" /><meta itemprop="height" content="%2$d" />', $img_width, $img_height );
        }

        return $content;
    }, 10, 4 );
    ```

### I still have a question

I can help with solving your problem on [our forum](https://wordpress.org/support/plugin/sarvarov-lazy-load/).

## Reviews

![](https://secure.gravatar.com/avatar/1a741bafe6735334cf779ad4020ab8f7a7b46d178c5c0eb37133730fcd3bce0d?
s=60&d=retro&r=g)

### 󠀁[Nice Plugin!](https://wordpress.org/support/topic/nice-plugin-3745/)󠁿

 [Kiranime](https://profiles.wordpress.org/kiranime/) 3, Xunetu de 2020

helped me with the restriction on lscache lqip quota.

 [ Read all 1 review ](https://wordpress.org/support/plugin/sarvarov-lazy-load/reviews/)

## Contributors & Developers

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

Contributors

 *   [ Roman Sarvarov ](https://profiles.wordpress.org/rom4i/)

“SARVAROV Lazy Load” has been translated into 1 locale. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/sarvarov-lazy-load/contributors)
for their contributions.

[Translate “SARVAROV Lazy Load” into your language.](https://translate.wordpress.org/projects/wp-plugins/sarvarov-lazy-load)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/sarvarov-lazy-load/),
check out the [SVN repository](https://plugins.svn.wordpress.org/sarvarov-lazy-load/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/sarvarov-lazy-load/)
by [RSS](https://plugins.trac.wordpress.org/log/sarvarov-lazy-load/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.1.0

 * Post thumbnail fix

#### 1.0.9

 * WordPress 5.4.x support
 * Post thumbnail fix

#### 1.0.8

 * Adds `loading="lazy"` to images & iframes inside `<noscript>`
 * General performance improvements

#### 1.0.7

 * Use cURL if host has `allow_url_fopen` set to false
 * Added Russian translation.

#### 1.0.6

 * New option: `Completely disable placeholders`
 * General performance improvements and bug fixes

#### 1.0.5

 * Posts with no blocks support

#### 1.0.4

 * Critical cache bug fix

#### 1.0.3

 * General performance improvements
 * Better cache method

#### 1.0.2

 * Cache error fix
 * Global stability fix

#### 1.0.1

 * PHP error fix
 * Minify public CSS & JavaScript files

#### 1.0.0

 * Initial release

## Meta

 *  Version **1.1.0**
 *  Last updated **6 años ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 4.0 or higher **
 *  Tested up to **5.4.25**
 *  PHP version ** 5.6 or higher **
 *  Languages
 * [English (US)](https://wordpress.org/plugins/sarvarov-lazy-load/) y [Russian](https://ru.wordpress.org/plugins/sarvarov-lazy-load/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/sarvarov-lazy-load)
 * Tags
 * [images](https://ast.wordpress.org/plugins/tags/images/)[lazy](https://ast.wordpress.org/plugins/tags/lazy/)
   [lazy load](https://ast.wordpress.org/plugins/tags/lazy-load/)[Lazy Loading](https://ast.wordpress.org/plugins/tags/lazy-loading/)
   [lazyload](https://ast.wordpress.org/plugins/tags/lazyload/)
 *  [Advanced View](https://ast.wordpress.org/plugins/sarvarov-lazy-load/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/sarvarov-lazy-load/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/sarvarov-lazy-load/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/sarvarov-lazy-load/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/sarvarov-lazy-load/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/sarvarov-lazy-load/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/sarvarov-lazy-load/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/sarvarov-lazy-load/reviews/)

## Contributors

 *   [ Roman Sarvarov ](https://profiles.wordpress.org/rom4i/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/sarvarov-lazy-load/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=LNVRV7LL39E2E&source=url)