Lazy Load for Images

外掛說明

Lazyload WordPress Images without any manual configurations and helps increasing performance of your blog or website.

This plugin make lazy load of all images (like thumbnails, post content images, avatars, gravatars, widget images etc.).

All images load only when users scroll down and they are on viewport. It’s SEO and user friendly, working well with all browsers.

This plugin is structured very simple and does not need any settings. Activate, Done! Plugin use less than 1kb JavaScript. no need of jQuery.

Lazy Load for Images – Features & Advantages

  • Load images only when required.
  • Improve page loading speed.
  • Reduce no. of HTTP requests.
  • Lazy load also working on mobiles.
  • Plugin used pure JS, no need of jQuery.
  • Plugin used less than 1kb Javascript.
  • Also support Gravatar.
  • Also support Genesis Framework.
  • SEO friendly (search engine optimized).
  • Worked great with genesis framework.
  • No need configurations (Just activate it, It’s Done!)
  • Of course, available on GitHub

Simply install the plugin to enjoy a faster website. No options are available : you install it and the plugin takes care of everything.

安裝方式

Installing this plugin – Simple

  1. In your WordPress admin panel, go to Plugins > New Plugin, search for Lazy Load for Images and click “Install now
  2. Otherwise, download plugin and upload to your plugins directory, which usually is /wp-content/plugins/.
  3. Activate plugin, All Done!.

Need more help?

Feel free to open a support ticket.

Missing something?

If you would like to have an additional feature for this plugin, let me know

常見問題集

Does this plugin lazy load all images on a post?

Yes, All images that uploaded via you media library loaded with lazy load, with featured images.

and this plugin also support Genesis Framework speciailly.

How can I deactivate Lazy Load on some images?

Simply add a data-no-lazy="1" attribute tag in your specific image.

How can i deactivate Lazy Load on some pages?

You can use do_not_lazyload filter.

Here, an example to put in functions.php files:

add_action( 'wp', 'deactivate_lli_lazyload_on_single' );
function deactivate_lli_lazyload_on_single() {
    if ( is_single() ) {
        add_filter( 'do_not_lazyload', '__return_false' );
    }
}

How do I lazy load other images in my theme?

If lazy load not working for your theme, you can add a add_filter in plugin class PHP files at hooks section, i.e. like this:

add_filter( 'post_thumbnail_html', array( __CLASS__, 'lli_lazyload_images' ) );

How can I use custom placeholder image or GIF?

By default, we use "data:image/gif;base64" for placeholder image. You can change it url with custom URL.

Does this plugin work with any caching plugins?

Yes, Lazy Load Images plugin work very well with every cache plugin.

使用者評論

2020 年 10 月 6 日
This plugin works very good. Most lazy load plugins cause problems somewhere on the website but this one doesn't. Great plugin.
閱讀全部 3 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Lazy Load for Images〉的開發相關工作。

參與者

將 Lazy Load for Images 外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.4

  • Upgrade for latest version.
  • JavaScript improvements.
  • Add genesis framework support.
  • Delete unused javascrit liberaries.
  • Added hooks for stop lazy load images.
  • plugin php code replaced with new php.

1.3.4

  • Fixed some buges.

1.3.3

  • Ignore AMP Pages.

1.3.2

  • Upgraded for version 5.3.

1.3.1

  • Placeholder image changed.
  • Improve PHP.
  • Lazy load script improvement.

1.3

  • Genesis featured image support.

  • First version.