Title: Lazy Load
Author: Automattic
Published: <strong>24. nowembra 2011</strong>
Last modified: 22. nowembra 2018

---

Tykače pytać

Tutón tykač **njeje so z najnowšimi 3 hłownymi wersijemi WordPress testował**. Snano
so hižo njewothladuje abo njepodpěruje a ma problemy z kompatibelnosću, hdyž so 
z nowšimi wersijemi WordPress wužiwa.

![](https://s.w.org/plugins/geopattern-icon/lazy-load.svg)

# Lazy Load

 Wot [Automattic](https://profiles.wordpress.org/automattic/)

[Sćahnyć](https://downloads.wordpress.org/plugin/lazy-load.0.6.1.zip)

 * [Podrobnosće](https://hsb.wordpress.org/plugins/lazy-load/#description)
 * [Pohódnoćenja](https://hsb.wordpress.org/plugins/lazy-load/#reviews)
 *  [Instalacija](https://hsb.wordpress.org/plugins/lazy-load/#installation)
 * [Wuwiće](https://hsb.wordpress.org/plugins/lazy-load/#developers)

 [Podpěra](https://wordpress.org/support/plugin/lazy-load/)

## Wopisanje

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](http://www.artzstudio.com/files/jquery-boston-2010/jquery.sonar/)
by Dave Artz (AOL).

## Instalacija

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

## HSP

### 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.

## Pohódnoćenja

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

### 󠀁[Remove it ASAP](https://wordpress.org/support/topic/remove-it-asap/)󠁿

 [radioparanormalium](https://profiles.wordpress.org/radioparanormalium/) 29. apryla
2023

Having this plugin installed on my WordPress pages for some time resulted in having
them all malware-infected which happened literally yesterday. The plugin had its
name changed to some 'WordPress CMS module' and its directory name was changed as
well.

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

### 󠀁[Conflict with Jupiter theme](https://wordpress.org/support/topic/conflict-with-jupiter-theme/)󠁿

 [gunterqb](https://profiles.wordpress.org/gunterqb/) 18. nowembra 2019

It produces random grayed out pictures within Jupiter theme image galleries. The
galleries work like charm after disabling this bundled plugin.

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

### 󠀁[Did not work](https://wordpress.org/support/topic/did-not-work-120/)󠁿

 [Tom](https://profiles.wordpress.org/thommen/) 26. julija 2019

For me, this plug does not work

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

### 󠀁[Can’t tell if it’s working](https://wordpress.org/support/topic/cant-tell-if-its-working/)󠁿

 [highprrrr](https://profiles.wordpress.org/highprrrr/) 20. měrca 2019

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?

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

### 󠀁[Lazy loads some, not all](https://wordpress.org/support/topic/lazy-loads-some-not-all/)󠁿

 [Naoise Golden Santos](https://profiles.wordpress.org/ngolden/) 10. februara 2019

Seems to work for some images but not for all, with no real explanation about why.
There are no configuration options so I couldn't find a way to fine-tune it.

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

### 󠀁[messed up website](https://wordpress.org/support/topic/messed-up-website-3/)󠁿

 [arjanvr](https://profiles.wordpress.org/arjanvr/) 1. nowembra 2018

The idea might be good but its messing up the entire websites, mostly on different
sliders.

 [ Čitajće 53 pohódnoćenjow ](https://wordpress.org/support/plugin/lazy-load/reviews/)

## Sobuskutkowarjo a wuwiwarjo

„Lazy Load“ je softwara wotewrjeneho žórła. Slědowacy ludźo su k tutomu tykačej 
přinošowali.

Sobuskutkowarjo

 *   [ Automattic ](https://profiles.wordpress.org/automattic/)
 *   [ Mohammad Jangda ](https://profiles.wordpress.org/batmoo/)
 *   [ Jake Goldman ](https://profiles.wordpress.org/jakemgold/)
 *   [ 10up ](https://profiles.wordpress.org/10up/)

„Lazy Load“ je so do 8 rěčow přełožił. Dźakujemy so [přełožowarjam](https://translate.wordpress.org/projects/wp-plugins/lazy-load/contributors)
za jich přinoški.

[Přełožće „Lazy Load“ do swojeje rěče.](https://translate.wordpress.org/projects/wp-plugins/lazy-load)

### Na wuwiću zajimowany?

[Přehladajće kod](https://plugins.trac.wordpress.org/browser/lazy-load/), hladajće
do [SVN-repozitorija](https://plugins.svn.wordpress.org/lazy-load/) abo abonujće
[wuwiwanski protokol](https://plugins.trac.wordpress.org/log/lazy-load/) přez [RSS](https://plugins.trac.wordpress.org/log/lazy-load/?limit=100&mode=stop_on_copy&format=rss).

## Protokol změnow

#### 0.6.1

 * Security: XSS fix (reported by [Jouko Pynnöne](https://klikki.fi/)

#### 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

## Meta

 *  Version **0.6.1**
 *  Last updated **8 lět**
 *  Active installations **10.000+**
 *  WordPress version ** 3.2 abo nowši **
 *  Tested up to **5.0.29**
 *  Languages
 * [Chinese (Taiwan)](https://tw.wordpress.org/plugins/lazy-load/), [Dutch](https://nl.wordpress.org/plugins/lazy-load/),
   [English (US)](https://wordpress.org/plugins/lazy-load/), [French (France)](https://fr.wordpress.org/plugins/lazy-load/),
   [Russian](https://ru.wordpress.org/plugins/lazy-load/), [Spanish (Chile)](https://cl.wordpress.org/plugins/lazy-load/),
   [Spanish (Spain)](https://es.wordpress.org/plugins/lazy-load/), [Spanish (Venezuela)](https://ve.wordpress.org/plugins/lazy-load/)
   a [Ukrainian](https://uk.wordpress.org/plugins/lazy-load/).
 *  [Přełožće do swojeje rěče](https://translate.wordpress.org/projects/wp-plugins/lazy-load)
 * Tags
 * [images](https://hsb.wordpress.org/plugins/tags/images/)[lazy load](https://hsb.wordpress.org/plugins/tags/lazy-load/)
 *  [Rozšěrjeny napohlad](https://hsb.wordpress.org/plugins/lazy-load/advanced/)

## Pohódnoćenja

 4 out of 5 stars.

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

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

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

## Sobuskutkowarjo

 *   [ Automattic ](https://profiles.wordpress.org/automattic/)
 *   [ Mohammad Jangda ](https://profiles.wordpress.org/batmoo/)
 *   [ Jake Goldman ](https://profiles.wordpress.org/jakemgold/)
 *   [ 10up ](https://profiles.wordpress.org/10up/)

## Podpěra

Chceće něšto prajić? Trjebaće pomoc?

 [Forum pomocy pokazać](https://wordpress.org/support/plugin/lazy-load/)