Skip to content

Image Lazy Loader

This section refers to the following section of the theme admin panel: Stores > Configuration > MageSpark > Lazy Image Loader.

General Options

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.

Enable : You can select between enabling and disabling Lazy Load for Magento 2 by setting the status in Enabled box into “Yes” or “No”.

Threshold : 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 20, it means that the images will be loaded before when your scroll position is far from 20 pixels.

Exclude Controller,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 Image Lazy Loader Magento 2 extension.