Skip to content

Commit 4386ff9

Browse files
committed
MC-23383: Introduce image lazy loading mechanism
- Extend comment;
1 parent 2f86082 commit 4386ff9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

app/code/Magento/Catalog/etc/view.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
<view xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Config/etc/view.xsd">
99
<vars module="Magento_Catalog">
1010
<var name="product_image_white_borders">1</var>
11-
<var name="enable_lazy_loading_for_images_without_borders">0</var> <!-- variable to enable lazy loading for catalog product images without borders -->
11+
<!-- Variable to enable lazy loading for catalog product images without borders.
12+
If you enable this setting your small size images without borders may be stretched in template.
13+
So be sure you have correct image sizes. -->
14+
<var name="enable_lazy_loading_for_images_without_borders">0</var>
1215
</vars>
1316
</view>

0 commit comments

Comments
 (0)