该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Product image Lazy Loader for WooCommerce

描述

This plugin lazy loads WooCommerce product images on the shop and archive pages.

Credits

https://web.dev/lazy-loading-images/

安装

  1. Download the .zip file
  2. Upload and extract the contents of the zip file to your wp-content/plugins/folder
  3. Activate the plugin from your WP-admin / Plugins
  4. Enjoy!

常见问题

How to add my own placeholder image?

  1. Open the wc-lazy-loader.php file in the plugin folder
  2. Scroll down to line 42
  3. Replace the “placeholder-image.png” with a valid place holder image URL from your website.

Why use event handlers and not IntersectionObserver API

Good question! Using event handlers is considered to be one of the most compatible ways to approach lazy loading that works pretty much on every browser. We will, however, be switching to IntersectionObserver API in the next release.

I installed the plugin. Did it make any difference in my performance?

You can use https://gtmetrix.com/ or https://developers.google.com/speed/pagespeed/insights/ to check. It would be a good idea to check your site before installing this plugin, and then again after installing and activating this plugin.

评价

此插件暂无评价。

贡献者及开发者

“Product image Lazy Loader for WooCommerce” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

1.0

  • first release version