Wopisanje
This plugin lazy loads WooCommerce product images on the shop and archive pages.
Credits
https://web.dev/lazy-loading-images/
Instalacija
- Download the .zip file
- Upload and extract the contents of the zip file to your wp-content/plugins/folder
- Activate the plugin from your WP-admin / Plugins
- Enjoy!
HSP
-
How to add my own placeholder image?
-
- Open the wc-lazy-loader.php file in the plugin folder
- Scroll down to line 42
- 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.
Pohódnoćenja
Sobuskutkowarjo a wuwiwarjo
„Product image Lazy Loader for WooCommerce“ je softwara wotewrjeneho žórła. Slědowacy ludźo su k tutomu tykačej přinošowali.
SobuskutkowarjoPřełožće „Product image Lazy Loader for WooCommerce“ do swojeje rěče.
Na wuwiću zajimowany?
Přehladajće kod, hladajće do SVN-repozitorija abo abonujće wuwiwanski protokol přez RSS.
Protokol změnow
1.0
- first release version