Title: Lazy Load XT
Author: dbhynds
Published: <strong>13 février 2015</strong>
Last modified: 22 février 2016

---

Recherche d’extensions

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

Cette extension **n’a pas été testée avec les3 dernières versions majeures de WordPress**.
Elle pourrait ne plus être maintenue ou supportée et peut présenter des erreurs 
de compatibilité quand elle est utilisée avec des versions récentes de WordPress.

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

# Lazy Load XT

 Par [dbhynds](https://profiles.wordpress.org/dbhynds/)

[Télécharger](https://downloads.wordpress.org/plugin/lazy-load-xt.0.5.3.zip)

 * [Détails](https://fr-ca.wordpress.org/plugins/lazy-load-xt/#description)
 * [Avis](https://fr-ca.wordpress.org/plugins/lazy-load-xt/#reviews)
 *  [Installation](https://fr-ca.wordpress.org/plugins/lazy-load-xt/#installation)
 * [Développement](https://fr-ca.wordpress.org/plugins/lazy-load-xt/#developers)

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

## Description

Lazy load images, YouTube and Vimeo videos, and iframes using [Lazy Load XT](https://github.com/ressio/lazy-load-xt).

Lazy Load XT is the fastest, lightest, fully customizable lazy load plugin in the
WordPress Plugin Directory.

This plugin works by loading the Lazy Load XT script and replacing the `src` attributes
with `data-src` when the content of a post or page is loaded on the front end of
a WordPress site.

## Installation

 1. Install and activate the plugin through the ‘Plugins’ menu in WordPress

or

 1. Download and unzip Lazy Load XT.
 2. Upload the `lazy-load-xt` folder to the `/wp-content/plugins/` directory
 3. Activate the plugin through the ‘Plugins’ menu in WordPress

## FAQ

  Why aren’t my images lazy loading?

Lazy Load XT filters images added to the page using `the_content`, `post_thumbnail_html`,`
widget_text` and `get_avatar`. If your images are added using another function (`
wp_get_attachment_image` for example), Lazy Load XT does not filter them. However,
as of v0.4, you can filter the HTML yourself by passing it to `get_lazyloadxt_html`.

For example, if a theme has:
 echo wp_get_attachment_image($id); Changing it to 
the following would lazy load the image: echo get_lazyloadxt_html( wp_get_attachment_image(
$id) );

## Avis

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

### 󠀁[The best, But its mobile browser is very slow loading youtube video](https://wordpress.org/support/topic/the-best-but-its-mobile-browser-is-very-slow-loading-youtube-video/)󠁿

 [idanka](https://profiles.wordpress.org/idanka/) 14 mars 2017

The best, But its (real) mobile browser is very slow loading youtube video. desktop
responsive browser mode, there is no slowdown.

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

### 󠀁[The best for lazy loading](https://wordpress.org/support/topic/the-best-for-lazy-loading/)󠁿

 [justraveling](https://profiles.wordpress.org/justraveling/) 8 janvier 2017

We’ve been trying all the available plugins and this performed best together with
Rocket Lazy Load. It brings down significantly the page loading time and doesn’t
break the design. Just a bit too lazy on mobile.

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

### 󠀁[Love it!](https://wordpress.org/support/topic/love-it-1507/)󠁿

 [AlgerieDeals](https://profiles.wordpress.org/algeriedeals/) 4 janvier 2017

Instant improvement on pingdom.com

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

### 󠀁[the best of lazy loads](https://wordpress.org/support/topic/the-best-of-lazy-loads/)󠁿

 [matteo raggi](https://profiles.wordpress.org/whichtransfers/) 20 septembre 2016

I tryed others and htis is the best of the wp lazy loads, probably also outside 
WP 🙂

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

### 󠀁[Caused my site to be laggy and increased load times](https://wordpress.org/support/topic/caused-my-site-to-be-laggy-and-increased-load-times/)󠁿

 [advantagen](https://profiles.wordpress.org/advantagen/) 3 septembre 2016

This plugin made my site obviously laggy, and increased my load times by 2 seconds

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

### 󠀁[Great, works with Retina 2x and Jetpack Carousel](https://wordpress.org/support/topic/great-works-with-retina-2x-and-jetpack-carousel/)󠁿

 [stevygee1987](https://profiles.wordpress.org/stevygee1987/) 3 septembre 2016

I just had to add get_lazyloadxt_html() to the gallery output, after that it worked
perfectly! Much better than the Lazy Load plugin, which stopped working with WP 
4.4!

 [ Lire les 29 avis ](https://wordpress.org/support/plugin/lazy-load-xt/reviews/)

## Contributeurs & développeurs

« Lazy Load XT » est un logiciel libre. Les personnes suivantes ont contribué à 
cette extension.

Contributeurs

 *   [ dbhynds ](https://profiles.wordpress.org/dbhynds/)

[Traduisez « Lazy Load XT » dans votre langue.](https://translate.wordpress.org/projects/wp-plugins/lazy-load-xt)

### Le développement vous intéresse ?

[Parcourir le code](https://plugins.trac.wordpress.org/browser/lazy-load-xt/), consulter
le [SVN dépôt](https://plugins.svn.wordpress.org/lazy-load-xt/), ou s’inscrire au
[journal de développement](https://plugins.trac.wordpress.org/log/lazy-load-xt/)
par [RSS](https://plugins.trac.wordpress.org/log/lazy-load-xt/?limit=100&mode=stop_on_copy&format=rss).

## Historique des changements

#### 0.5.3

 * Fix multisite activation error

#### 0.5.2

 * Actually fixed the error for older versions of PHP

#### 0.5.1

 * Fixed error for older versions of PHP
 * Fixed incorrect script being loaded for background images

#### 0.5.0

 * Implemented srcset attribute for WP 4.4

#### 0.4.1

 * Tweaked regex for iframes
 * Fixed operators on settings class

#### 0.4

 * Added `get_lazyloadxt_html()` to let users pass HTML to be filtered
 * Disabled filtering HTML for RSS Feeds
 * Added support for content loaded via AJAX

#### 0.3.2

 * Error when using checked() and undefined index

#### 0.3.1

 * Fix typos and undefined indexes

#### 0.3

 * Parse HTML with regex instead of PHP’s DOMDocument
 * Fix UTF-8 problems
 * Enable script-based tagging
 * Lazy load gravatars
 * Enable loading scripts from CDN and in footer

#### 0.2

 * Lazy load HTML5 elements
 * Toggle and lazy load featured images, text widgets
 * Specify css classes to skip lazy loading
 * Improve settings, installation and upgrade
 * Fallback to 1×1 pixel transparent gif
 * HTML validation

#### 0.1

 * Load Lazy Load XT js using `wp_enqueue_scripts()`
 * Replace `src` with `data-src` in `the_content()`

## Méta

 *  Version **0.5.3**
 *  Last updated **il y a 10 années**
 *  Active installations **600+**
 *  WordPress version ** 3.1 ou plus **
 *  Tested up to **4.4.34**
 *  Language
 * [English (US)](https://wordpress.org/plugins/lazy-load-xt/)
 * Tags
 * [iframe](https://fr-ca.wordpress.org/plugins/tags/iframe/)[image](https://fr-ca.wordpress.org/plugins/tags/image/)
   [lazy load](https://fr-ca.wordpress.org/plugins/tags/lazy-load/)[media](https://fr-ca.wordpress.org/plugins/tags/media/)
 *  [Vue avancée](https://fr-ca.wordpress.org/plugins/lazy-load-xt/advanced/)

## Notes

 4.8 out of 5 stars.

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

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

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

## Contributeurs

 *   [ dbhynds ](https://profiles.wordpress.org/dbhynds/)

## Support

Quelque chose à dire ? Besoin d’aide ?

 [Voir le forum de support](https://wordpress.org/support/plugin/lazy-load-xt/)