Lazy Load for Magento 2 extension serves Magento 2 based website. It not only creates an eye-catching image emerging transition but also optimizes Magento 2 site speed. Especially, the extension is developed with SEO which promotes site rank in the SERPs.
Lazy Load for Magento 2 helps admin thoroughly from the backend. You, at your discretion, decide the homepage shall not be affected by the extension as well as the time point at which the next images will be loaded before appearing on the screen.
2. How Does It Work?
To make configuration of this module, follow this below instruction:
- Step 1: Go to Admin Panel ⇒ Stores ⇒ Configuration
- Step 2: At the left side of the page, find BSS Commerce, and select Lazy Image Loader.
There are 5 parts you can fix as your wishes: Enabled, Threshold, Exclude controllers, Exclude path, Exclude Home Page.
You can select between enabling and disabling Lazy Load for Magento 2 by setting the status in Enabled box into “Enable” or “Disable”.
In Threshold box, you can set the number pixel before images appear on the screen, then the image will be loaded earlier as the pixels you set. For instance, if you set the number in the box is 14, it means that the images will be loaded before when your scroll position is far from 14 pixels.
2.3 Exclude Controllers, Path, Homepage
Lazy Load for Magento 2 allows admin to decide which part will be excluded from lazy- loaded function. To exclude controller, admin can click on Add and then filling the match in the box. Admin also can delete the Match and add more by clicking on Delete, and Add button alternately.
Similar to Controller, admin can control the Path which they do not want to be affected by lazy image load.
Finally, admin can set whether Homepage is affected by lazy image load or not in the box Exclude Home Page.
After finishing all of these set-up steps, you can click on Save Config button to start using Lazy Image Loader for Magento 2 extension.