Skip to content

Commit 4c503ad

Browse files
authored
Update image_with_borders.html
1 parent 227cf92 commit 4c503ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/Catalog/view/frontend/web/template/product/image_with_borders.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*/
66
-->
77
<span class="product-image-container" data-bind="style: {width: width/2 + 'px'}">
8-
<span class="product-image-wrapper" data-bind="style: {'padding-bottom': height/width*100 + '%'}">
9-
<img class="product-image-photo" data-bind="attr: {src: src, alt: alt}, style: {width: 'auto', height: 'auto'}" />
8+
<span class="product-image-wrapper" data-bind="style: {'padding-bottom': height/width*100 + '%'}">
9+
<img class="product-image-photo" loading="lazy" data-bind="attr: {src: src, alt: alt}, style: {width: 'auto', height: 'auto'}" />
1010
</span>
1111
</span>

0 commit comments

Comments
 (0)