Native Lazyload + Polyfill

plugin banner

Adds native lazyloading to all images and iframes (embeds), also wraps them in and adds a polyfill to make it work in all browsers.

Author:Nicolas Jonas (profile at wordpress.org)
WordPress version required:4.4.0
WordPress version tested:5.2.3
Plugin version:1.1.0
Added to WordPress repository:26-08-2019
Last updated:11-10-2019
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:0
Rated by:0
Plugin URI:https://nextgenthemes.com/plugins/native-lazy...
Total downloads:3 107
Active installs:30+
plugin download
Click to start download

Minimalistic lazyloading, loads images as they come into view. Adds native lazyloading to all images and embeds (Chrome) and adds a polyfill (1.07 KiB gzipped) to make it work in all browsers.

How it works technically (if you care)

  • Adds loading="lazy" to all <img> and <iframe> inside the_content and other areas.
  • Also wraps <img>, <iframe> and the content of <pictures> in <noscript>.
  • Adds the loading-attribute-polyfill to do its magic in JavaScript.

Feedback/Help is very welcome.


ChangeLog