WordPress plugin intelligence profile

Lazyload, Preload, and More!

A drop dead simple and lightweight image, iframe, and video optimization plugin to satisfy Google PageSpeed Insights and Core Web Vitals.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 6.3
Current version1.0.4
WordPress coverageTested up to WordPress 6.3
Minimum stackWP 5.8 · PHP 7.4
Directory statusactive
Last directory update9 Oct 20233y ago
Active installations40Adoption metric — not a quality score
WordPress.org rating5.0 / 5 from 1 ratings
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Lazyload, Preload, and More! version 1.0.4 as active, updated 3y ago and tested up to WordPress 6.3.

Overview

About this plugin

A drop dead simple and lightweight image, iframe, and video optimization plugin to satisfy Google PageSpeed Insights, Lighthouse, and overall user experience.

This tiny little plugin (around 14kb zipped) will automatically

  • lazyload your below the fold images/iframes/videos,
  • preload your featured images (should also works well with WooCommerce product featured image),
  • add loading=”eager” to your featured image and all images that have no-lazy or skip-lazy class.
  • add missing image dimension to images that doesn’t have width and height attribute

Features

  • Lazy Load:
  • Images, iframes, and videos.
  • Inline background images.
  • CSS background image (simply put lazyload class to the background image container)
  • Preload Featured Images

Automatically preloading featured image from common page/post (homepage, pages except homepage, single post, and WooCommerce single product pages)

  • Add loading=”eager” attribute to to your featured image and all images that have no-lazy or skip-lazy class.
  • Add missing image dimension to images that doesn’t have width and height attribute [since 1.0.3]

Should works well with all page builders and theme builders. This plugin also able to lazy loading WooCommerce images and preloading WooCommerce product featured images.

Disclaimer

  • Lazy load feature are using Lazysizes library (around 3kb, gzipped and minified).
  • This plugin doesn’t add anything to your database since there’s no settings and options. Everything will automatically activated after you activate the plugin.
  • You can change some default settings using filter.
  • This plugin is the simplified version of Optimize More! – Images, if you don’t want to use filters and need to control the settings with UI, you can try that plugin instead of this one.

About Lazysizes

Lazysizes is highly performant lazy load library, written by Alexander Farkas in pure JS with no dependencies.

Taken from lazysize’s github description:

High performance and SEO friendly lazy loader for images (responsive and normal), iframes and more, that detects any visibility changes triggered through user interaction, CSS or JavaScript without configuration.

Filters

Example filter to add extra lazyload exclude list:

add_filter( 'lpam_extra_exclude_list', function($lpam_extra_exclude_list) { return array( 'my-logo', 'my-hero-img', 'exclude-lazy' ); } );

Example filter to change lazysizes config (Read the docs ):

lazySizesConfig = { expand: 500, threshold: 500 };' } );

Example filter to change the image sizes for preload featured image:

add_filter( 'lpam_preload_featured_images_image_size', function($image_size, $post) { if ( is_singular( 'post' ) ) { return 'large'; } elseif ( is_singular( 'product' ) ) { return 'full'; } else { return $image_size; } }, 10, 2 );

2 ] Example to disable the preload featured image feature in certain page-type:

add_filter('disable_featured_image_preload', function ($disable) { if ( is_singular( 'post' ) ) { return true; } });

3 ] Example to disable adding image dimension in certain page-type:

add_filter('disable_img_dimension', function ($disable) { if ( is_singular( 'post' ) ) { return true; } });

3 ] Example to disable this plugin completely in certain page using url:

add_filter('lazy_load_excluded_pages', function ($excludedPages) { $excludedPages[] = '/page-1'; $excludedPages[] = '/page-2'; return $excludedPages; });

3 ] Example to disable this plugin completely in certain page using page ID:

add_filter('lazy_load_excluded_page_ids', function ($excludedPageIDs) { $excludedPageIDs[] = 3678; // Exclude page with ID 1 $excludedPageIDs[] = 3615; // Exclude page with ID 2 return $excludedPageIDs; });

4 ] To disable the tag:

add_filter('disable_noscript', '__return_true');

USEFUL PLUGINS TO OPTIMIZE YOUR SITE’S SPEED:

-

: A Do It Yourself WordPress Optimization Plugin that give you the ability to:

-

Load CSS Asynchronously – selectively load CSS file(s) asynchronously on selected post/page types.

-

Delay CSS and JS until User Interaction – selectively delay CSS/JS load until user interaction on selected post/page types.

-

Preload Critical CSS, JS, and Font Files – selectively preload critical CSS/JS/Font file(s) on selected post/page types.

-

Remove Unused CSS and JS Files – selectively remove unused CSS/JS file(s) on selected post/page types.

-

Defer JS – selectively defer loading JavaScript file(s) on selected post/page types.

-

Advance Defer JS – hold JavaScripts load until everything else has been loaded. Adapted from the legendary varvy’s defer js method *recommended for defer loading 3rd party scripts like ads, pixels, and trackers

-

Load Gutenberg CSS conditionally

-

Remove Passive Listener Warnings

  • and many more

Other USEFUL PLUGIN:

-

Shop Extra – A lightweight plugin to optimize your WooCommerce & Business site that makes you able to:

  • add Floating WhatsApp Chat Widget (can be use without WooCommerce),
  • add WhatsApp Order Button for WooCommrece,
  • Hide/Disable WooCommerce Elements,
  • WooCommerce Strings Translations,
  • and many more.

-

Animate on Scroll – Animate any Elements on scroll using the popular AOS JS library simply by adding class names. This plugin helps you integrate easily with AOS JS library to add any AOS animations to WordPress. Simply add the desired AOS animation to your element class name with “aos-” prefix and the plugin will add the corresponding aos attribute to the element tag.

Optimize More!

Need to optimize more? Try my WordPress Page Speed Optimization’s Service.

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • core web vitals
  • lazy load
  • loading eager
  • lazyload
  • pagespeed
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 6.3

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 6.3.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to6.3
Minimum requirementsWordPress 5.8 · PHP 7.4
Update activity9 Oct 20233y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.