這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

wp-lazy-load

描述

This plugin optimizes your page load performance using the jQuery Lazy
Load. The img src attributes in your posts are replaced with
placeholder tags. The plugin waits for the user to scroll to near
the image before it starts loading the image.

This improves your page speed as only images that are actually viewed by users
are loaded. And your servers will also perform better as they will need
to serve fewer images.

Credits

安裝

  1. Click Plugins > Add New in the WordPress admin panel.
  2. Search for “wp-lazy-load” and install.

Customization

The threshold parameter controls the distance in pixels that the your
viewers need to be close to to trigger loading of images. Default is 200
pixels.

The plugin uses a transparent gif as the placeholder image by default.
This can be changed by adding a custom placeholder image to your current
themes wp-lazy-load subdirectory.

For eg:- if you add red.gif to {current_theme}/wp-lazy-load/red.gif
and then change the plugin settings to use red.gif.

Then the placeholder for your images will use this red.gif image
instead.

常見問題

  • Can I change the placeholder image?

Yes, see the customization section under Installation.

評價

There are no reviews for this plugin.

貢獻者及開發者

“wp-lazy-load” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 wp-lazy-load 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

0.3.2

  • Adds effectSpeed parameter to control the animation speed.
    • Default is 400 ms.

0.3.1

  • Upgrades to Arrow 1.8.0.

0.3.0

  • Upgrades to Arrow 1.6.0.
  • Migrates plugin setting page to a client-side jQuery based app.

0.2.0

  • First release on wordpress.org

0.1.0

  • Initial Release