File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
app/code/Magento/Catalog/view/frontend/templates/product Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -24,12 +24,12 @@ $enableLazyLoadingWithoutBorders = (bool)$block->getVar(
24
24
<?php endforeach ; ?>
25
25
src="<?= $ escaper ->escapeUrl ($ block ->getImageUrl ()) ?> "
26
26
loading="lazy"
27
- <!-- Enable lazy loading for images with borders and if variable
28
- enable_lazy_loading_for_images_without_borders in view.xml is enabled -->
29
- <?php if ($ borders || $ enableLazyLoadingWithoutBorders ) : ?>
27
+ <!-- Enable lazy loading for images with borders and if variable
28
+ enable_lazy_loading_for_images_without_borders in view.xml is enabled -->
29
+ <?php if ($ borders || $ enableLazyLoadingWithoutBorders ): ?>
30
30
width="<?= $ escaper ->escapeHtmlAttr ($ block ->getWidth ()) ?> "
31
31
height="<?= $ escaper ->escapeHtmlAttr ($ block ->getHeight ()) ?> "
32
- <?php else : ?>
32
+ <?php else : ?>
33
33
max-width="<?= $ escaper ->escapeHtmlAttr ($ block ->getWidth ()) ?> "
34
34
max-height="<?= $ escaper ->escapeHtmlAttr ($ block ->getHeight ()) ?> "
35
35
<?php endif ; ?>
You can’t perform that action at this time.
0 commit comments