Title: Lazy Load Elementor Background Images
Author: James Revillini
Published: <strong>11 februari 2020</strong>
Last modified: 17 maart 2020

---

Plugins zoeken

![](https://ps.w.org/lazy-load-background-images-for-elementor/assets/banner-772x250.
png?rev=2242537)

Deze plugin **is niet getest met de laatste 3 grotere versies van WordPress**. Mogelijk
wordt het niet meer onderhouden of ondersteund. Ook kunnen er compatibiliteitsproblemen
ontstaan wanneer het wordt gebruikt met recentere versies van WordPress.

![](https://ps.w.org/lazy-load-background-images-for-elementor/assets/icon-256x256.
png?rev=2242537)

# Lazy Load Elementor Background Images

 Door [James Revillini](https://profiles.wordpress.org/jrevillini/)

[Download](https://downloads.wordpress.org/plugin/lazy-load-background-images-for-elementor.zip)

 * [Details](https://nl.wordpress.org/plugins/lazy-load-background-images-for-elementor/#description)
 * [Beoordelingen](https://nl.wordpress.org/plugins/lazy-load-background-images-for-elementor/#reviews)
 *  [Installatie](https://nl.wordpress.org/plugins/lazy-load-background-images-for-elementor/#installation)
 * [Ontwikkeling](https://nl.wordpress.org/plugins/lazy-load-background-images-for-elementor/#developers)

 [Ondersteuning](https://wordpress.org/support/plugin/lazy-load-background-images-for-elementor/)

## Beschrijving

A major drawback to using Elementor is that the background images used for sections
and columns are all loaded when the page loads. Using a plugin like WP Rocket or
BJ Lazy Load will not solve this issue. **This plugin fixes that.**

The plugin is dead simple. No extra database tables or queries, no admin screens
with difficult options to understand, and no dependencies other than that the page
is designed with Elementor. It injects a little JavaScript and CSS on the front-
end. The CSS hides all backgrounds on all non-animated sections and columns. The
JavaScript detects the visitor’s scrolling and starts loading the background images
as they get close to those sections/columns using the WayPoints JS library (which
is packaged with Elementor).

**New**

 * support has been added for the following Elementor Pro elements: Flip Box and
   Slider – thanks for the idea @dollhauss

## Installatie

 1. WP Dashboard > Plugins > Add New
 2. Search for **Lazy Load Elementor Background Images**
 3. Install and activate.

#### Prerequisites

 * You must be using the Elementor page builder. This plugin doesn’t have any effect
   whatsoever on pages not built with Elementor.
 * WayPoints JS library – this library is currently bundled and loading on Elementor
   pages. Future versions of this plugin may include the WayPoints JS library so
   it will not be required.

## FAQ

  How do I know if this is working?

If your pages start loading faster, it’s probably working. That’s the non-technical
version.

If you’re a developer and know how to use Google Chome Developer Console, read on…

 1.  If you’re using a caching plugin, clear it.
 2.  If you’re using a CDN such as Cloudflare, clear the CDN cache.
 3.  Open your site in an incognito tab in Google Chrome.
 4.  Open the Developer Console.
 5.  Go to the Network tab.
 6.  Tick the option to disable cache.
 7.  Click the `Img` sub-tab.
 8.  Reload the page.
 9.  As you scroll down, ensure that the background images of sections and columns 
     load on the fly as you approach them.

  Why isn’t this plugin doing anything?

If the plugin isn’t lazy-loading your background images, then one of the following
must be true:

 * the **Lazy Load Elementor Background Images** plugin isn’t active – activate 
   it.
 * Elementor isn’t installed/activated – install and activate it.
 * the page you’re checking is not an Elementor page – this plugin ONLY works on
   section/column backgrounds designed with Elementor.
 * the section/column with a background is also animated (motion effects) … I can’t
   lazyload them because they are hidden until they are scrolled into view.
 * Waypoints JS library is not loaded … we can look at this together and figure 
   out why.

If none of the issues above applied to your situation, just leave the plugin activated,
open a support ticket (support link forthcoming) and we’ll troubleshoot it. DO NOT
leave a crappy review on the plugin, please. I’m providing it for free and support
it for free. I will do my best to make it work in all situations but there are no
guarantees.

  Where are the settings?

There is no admin screen added by this plugin. You just activate it and it works.

  This plugin killed my site!

I believe it. It’s a very new plugin that hasn’t been widely tested. Rather than
give it a crappy rating, please use the support forum so we can figure out what 
happened. (I am waiting for WordPress.org to approve my plugin so I can link to 
the support forum)

In the meantime, to get your site back, get into your site’s files via cPanel File
Manager through your hosting platform or via FTP, go into the `wp-content/plugins/`
folder, and delete the `lazy-load-background-images-for-elementor` folder – that
should immediately bring your site back to life.

On newer versions of WordPress, you may also use the recovery link that gets emailed
to you when your site has a critical error.

  I’m not seeing huge performance increases …

 1. Remember – this plugin is not a lazy loader for all images on the page. It only
    affects background images applied to sections or columns. Use a plugin like WP 
    Rocket to apply lazy-loading to all other image resources.
 2. Background images which are visible (or close to visible) when the page loads are
    loaded immediately.
 3. Your background images may not really be impacting the load time on your site (
    In other words, maybe your background images are highly optimized and small in 
    size). A 2K JPG lazy-loaded is not going to improve your page speed much. A 500K
    JPG background will.
 4. Your web server may simply be slow. Or there are other areas of optimization that
    need to be addressed. The best article I’ve found for tuning up everything on the
    site is Kinsta’s [How to Speed Up Your WordPress Website (Ultimate 2020 Guide)](https://kinsta.com/learn/speed-up-wordpress/).

## Beoordelingen

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

### 󠀁[Images not loading at all](https://wordpress.org/support/topic/images-not-loading-at-all-2/)󠁿

 [inkvader](https://profiles.wordpress.org/inkvader/) 31 januari 2022

Sadly this plugin didn't work for me. Background images on sections just dont show
at all when the plugin is active…

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

### 󠀁[Works Great](https://wordpress.org/support/topic/works-great-7986/)󠁿

 [cecnaadmin](https://profiles.wordpress.org/cecnaadmin/) 18 november 2021

This Plugin still works great. Good Code survives updates. I uploaded it, activated
it, and wow sped up site that had a Vimeo video as the background of the header.
Gained 20+ performance points on Google Page Insights. So simple, easy, and so effective.
As of today, I have the current WordPress core, current Elementor Pro and I run 
Generate Press as a theme. I can't see any visual effect on my webpage, the header
seems to load just as fast. Thanks, great plugin.

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

### 󠀁[YES!! It works and just knocked 10 of the PSI score!](https://wordpress.org/support/topic/yes-it-works-and-just-knocked-10-of-the-psi-score/)󠁿

 [colinfroggatt](https://profiles.wordpress.org/colinfroggatt/) 14 augustus 2021

YES!! been trying to do this for days. Just using it on Section background images
and still works a treat. Used in conjunction with LSCache image caching and lazy
loading, Elementor 3.3.1/Pro 3.3.6. Nice work James!

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

### 󠀁[The plugin still works for the slider](https://wordpress.org/support/topic/the-plugin-still-works-for-the-slider/)󠁿

 [leoluc](https://profiles.wordpress.org/leoluc/) 9 juli 2021

I installed the plugin on the 9th of July 2021 and it still works. It allows lazy
loading of images in elementor slideshow, and it is a life saver on mobile. It does
not work for a single section background, and I do not know why. Anyway, thank you
James !

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

### 󠀁[It still works, even if support is dead](https://wordpress.org/support/topic/it-still-works-even-if-support-is-dead/)󠁿

 [CubicInfinity](https://profiles.wordpress.org/cubicinfinity/) 3 juni 2021

This plugin still works. See symisz's solution for overlay background images: https://
wordpress.org/support/topic/overlay-background-2/ Unfortunately, on the site I'm
working with, this adds way more to the JS execution time than it's worth. I don't
see the value in changing the plugin to fix that at the moment.

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

### 󠀁[Does not work.](https://wordpress.org/support/topic/does-not-work-1318/)󠁿

 [djeah](https://profiles.wordpress.org/djeah/) 23 maart 2021

This plugin does not work anymore it seems. Also the support forum is inactive, 
and the plugin was last updated over a year ago!

 [ Lees alle 8 beoordelingen ](https://wordpress.org/support/plugin/lazy-load-background-images-for-elementor/reviews/)

## Bijdragers & ontwikkelaars

“Lazy Load Elementor Background Images” is open source software. De volgende personen
hebben bijgedragen aan deze plugin.

Bijdragers

 *   [ James Revillini ](https://profiles.wordpress.org/jrevillini/)

[Vertaal “Lazy Load Elementor Background Images” in je eigen taal.](https://translate.wordpress.org/projects/wp-plugins/lazy-load-background-images-for-elementor)

### Interesse in ontwikkeling?

[Bekijk de code](https://plugins.trac.wordpress.org/browser/lazy-load-background-images-for-elementor/),
haal de [SVN repository](https://plugins.svn.wordpress.org/lazy-load-background-images-for-elementor/)
op, of abonneer je op het [ontwikkellog](https://plugins.trac.wordpress.org/log/lazy-load-background-images-for-elementor/)
via [RSS](https://plugins.trac.wordpress.org/log/lazy-load-background-images-for-elementor/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.1.2

 * fixed support for Swiper (affects Elementor Pro widget Slider) which was not 
   loading all backgrounds in view when the Slider widget is in ‘infinite loop’ 
   mode. thanks for reporting it @sermalefico

#### 1.1.1

 * removed console.log call in JS as it was only for debugging purposes

#### 1.1.0

 * added support for Elementor Pro widget Slider – thanks for the suggestion @dollhauss
 * added support for Elementor Pro widget Flip Box – thanks for the suggestion @
   dollhauss
 * simplified JS code for readability and performance

#### 1.0.0

 * initial release

## Meta

 *  Versie **1.1.2**
 *  Laatst geüpdatet **7 jaar geleden**
 *  Actieve installaties **1.000+**
 *  WordPress versie ** 4.7 of nieuwer **
 *  Getest t/m **5.3.25**
 *  PHP versie ** 7.0 of nieuwer **
 *  Taal
 * [English (US)](https://wordpress.org/plugins/lazy-load-background-images-for-elementor/)
 * Tags
 * [background images](https://nl.wordpress.org/plugins/tags/background-images/)
   [elementor](https://nl.wordpress.org/plugins/tags/elementor/)[lazyload](https://nl.wordpress.org/plugins/tags/lazyload/)
   [performance](https://nl.wordpress.org/plugins/tags/performance/)
 *  [Geavanceerde weergave](https://nl.wordpress.org/plugins/lazy-load-background-images-for-elementor/advanced/)

## Waarderingen

 3.6 van 5 sterren.

 *  [  5 5 sterren beoordelingen     ](https://wordpress.org/support/plugin/lazy-load-background-images-for-elementor/reviews/?filter=5)
 *  [  0 4 sterren beoordelingen     ](https://wordpress.org/support/plugin/lazy-load-background-images-for-elementor/reviews/?filter=4)
 *  [  0 3 sterren beoordelingen     ](https://wordpress.org/support/plugin/lazy-load-background-images-for-elementor/reviews/?filter=3)
 *  [  1 2 ster beoordeling     ](https://wordpress.org/support/plugin/lazy-load-background-images-for-elementor/reviews/?filter=2)
 *  [  2 1 sterren beoordelingen     ](https://wordpress.org/support/plugin/lazy-load-background-images-for-elementor/reviews/?filter=1)

[Je beoordeling](https://wordpress.org/support/plugin/lazy-load-background-images-for-elementor/reviews/#new-post)

[Bekijk alle beoordelingen](https://wordpress.org/support/plugin/lazy-load-background-images-for-elementor/reviews/)

## Bijdragers

 *   [ James Revillini ](https://profiles.wordpress.org/jrevillini/)

## Ondersteuning

Iets te melden? Hulp nodig?

 [Het supportforum bekijken](https://wordpress.org/support/plugin/lazy-load-background-images-for-elementor/)

## Doneren

Wil je de groei van deze plugin ondersteunen?

 [ Doneer aan deze plugin ](https://james.revillini.com/)