We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0bd7a87 commit 56fde6cCopy full SHA for 56fde6c
app/code/Magento/Catalog/view/frontend/templates/product/image.phtml
@@ -12,6 +12,7 @@
12
<img class="photo image <?= $escaper->escapeHtmlAttr($block->getClass()) ?>"
13
<?= $escaper->escapeHtml($block->getCustomAttributes()) ?>
14
src="<?= $escaper->escapeUrl($block->getImageUrl()) ?>"
15
+ loading="lazy"
16
width="<?= $escaper->escapeHtmlAttr($block->getWidth()) ?>"
17
height="<?= $escaper->escapeHtmlAttr($block->getHeight()) ?>"
18
alt="<?= /* @noEscape */ $block->stripTags($block->getLabel(), null, true) ?>" />
0 commit comments