插件名

lazysizes

评分

100

安装步骤:
  1. Install and activate the plugin through the ‘Plugins’ menu in WordPress

or

  1. Download and unzip lazysizes.
  2. Upload the lazysizes folder to the /wp-content/plugins/ directory
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
描述:

lazysizes is a WordPress plugin for the fast (jank-free), SEO-friendly and self-initializing lazyloader with the same name. Support includes images (including responsive images with srcset and the picture tag), iframes, scripts/widgets and much more. It also prioritizes resources by differentiating between crucial in view and near view elements to make perceived performance even faster.

This plugin works by loading the lazysizes script and replacing the src and srcset attributes with data-src and data-srcset on the front end of a WordPress site. When a post or page is loaded, the lazysizes javascript will load the images and iframes dynamically when needed.

Thanks to aFarkas and contributors for making the lazysizes project possible, and for letting me use the same name.

Also thanks to dbhynds for making the Lazy Load XT plugin this plugin is based on.

下载地址:
点击下载
相关插件