Title: Lazy Load XT
Author: dbhynds
Published: <strong>13. februar, 2015</strong>
Last modified: 22. februar, 2016

---

Søg plugins

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

Dette plugin **er ikke blevet testet med de seneste 3 større udgivelser af WordPress**.
Det vedligeholdes eller understøttes muligvis ikke længere og kan have kompatibilitetsproblemer,
når det bruges med nyere versioner af WordPress.

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

# Lazy Load XT

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

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

 * [Detaljer](https://da.wordpress.org/plugins/lazy-load-xt/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/lazy-load-xt/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/lazy-load-xt/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/lazy-load-xt/#developers)

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

## Beskrivelse

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

ellers

 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) );

## Anmeldelser

![](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. marts, 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. januar, 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. januar, 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. september, 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. september, 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. september, 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!

 [ Læs alle 29 anmeldelser ](https://wordpress.org/support/plugin/lazy-load-xt/reviews/)

## Bidragsydere & udviklere

“Lazy Load XT” er open source-software. Følgende personer har bidraget til dette
plugin.

Bidragsydere

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

[Oversæt “Lazy Load XT” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/lazy-load-xt)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/lazy-load-xt/), tjek
[SVN repository](https://plugins.svn.wordpress.org/lazy-load-xt/), eller abonner
på [udviklerloggen](https://plugins.trac.wordpress.org/log/lazy-load-xt/) via [RSS](https://plugins.trac.wordpress.org/log/lazy-load-xt/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

#### 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()`

## Meta

 *  Version **0.5.3**
 *  Senest opdateret **11 år siden**
 *  Aktive installationer **600+**
 *  WordPress-version ** 3.1 eller højere **
 *  Testet op til **4.4.34**
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/lazy-load-xt/)
 * Tags
 * [iframe](https://da.wordpress.org/plugins/tags/iframe/)[image](https://da.wordpress.org/plugins/tags/image/)
   [lazy load](https://da.wordpress.org/plugins/tags/lazy-load/)[media](https://da.wordpress.org/plugins/tags/media/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/lazy-load-xt/advanced/)

## Bedømmelser

 4.8 ud af 5 stjerner.

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

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

[Se alle anmeldelser](https://wordpress.org/support/plugin/lazy-load-xt/reviews/)

## Bidragsydere

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

## Support

Har du noget at sige? Har du brug for hjælp?

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