manifest / performance / jdm-native-lazy-loading
JDM Native Lazy Loading WP Registry grade A. No security issues foundWP RegistryNo security issues foundOpen the reportA
WordPress plugin automatically adds the loading="lazy" attribute to IMG tags within your content to support native image lazy loading in browsers that support it.
★ 2stars
1.1latest · 7 years ago
Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/jdmdigital/jdm-native-lazy-loading/archive/refs/heads/master.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
JDM Native Lazy Loading
WordPress plugin automatically adds the loading="lazy" attribute to IMG tags within your content to support native image lazy loading, coming in Chrome 75.
Description
This plugin adds the loading="lazy" attribute to IMG tags found when filtering thecontent() to support native image lazy loading (coming in Chrome 75).
For more information about native lazy loading images, check out this article: https://addyosmani.com/blog/lazy-loading/ and for a little more depth into what we're doing here, check out our explainer post at: https://jdmdig.it/30nXp7h
Historically, to limit the impact offscreen images have on page load times, developers have needed to use a JavaScript library (like LazySizes) in order to defer fetching these images until a user scrolls near them. What if the browser could avoid loading these offscreen images for you?
The loading attribute allows a browser to defer loading offscreen images and iframes until users scroll near them. It comes in three flavors which you can select (the first one and the Nth ones) to all images sent through thecontent().
Just install, activate, check the settings page, and marvel at its simplicity.
Ther
Releases
2 releases.
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.