File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ $itemAmount = $block->getItemAmount();
33
33
<div class="category-image-container">
34
34
<a class="magepow-categories-category" href="<?php echo $ cat ->getUrl () ?> ">
35
35
<div class="magepow-categories-category-image">
36
- <img src="<?php echo $ this ->getImage ($ cat ) ?> " alt="<?php echo $ cat ->getName () ?> "/>
36
+ <img loading="lazy" src="<?php echo $ this ->getImage ($ cat ) ?> " alt="<?php echo $ cat ->getName () ?> "/>
37
37
</div>
38
38
<div class="magepow-categories-category-name">
39
39
<span><?php echo $ cat ->getName () ?> </span>
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ $selector = 'alo-content-'.uniqid();
41
41
<div class="category-item-info">
42
42
<div class="category-image-container">
43
43
<a class="category-url" href="<?php echo $ cat ->getUrl () ?> ">
44
- <img src="<?php echo $ this ->getImage ($ cat ) ?> " width="<?php echo $ image ->getOriginalWidth () ?> " height="<?php echo $ image ->getOriginalHeight () ?> " alt="<?php echo $ cat ->getName () ?> "/>
44
+ <img loading="lazy" src="<?php echo $ this ->getImage ($ cat ) ?> " width="<?php echo $ image ->getOriginalWidth () ?> " height="<?php echo $ image ->getOriginalHeight () ?> " alt="<?php echo $ cat ->getName () ?> "/>
45
45
</a>
46
46
</div>
47
47
<div class="category-item-details">
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ $itemAmount = $block->getItemAmount();
33
33
<div class="category-image-container">
34
34
<a class="magepow-categories-category" href="<?php echo $ cat ->getUrl () ?> ">
35
35
<div class="magepow-categories-category-image">
36
- <img src="<?php echo $ this ->getImage ($ cat ) ?> " alt="<?php echo $ cat ->getName () ?> "/>
36
+ <img loading="lazy" src="<?php echo $ this ->getImage ($ cat ) ?> " alt="<?php echo $ cat ->getName () ?> "/>
37
37
</div>
38
38
<div class="magepow-categories-category-name">
39
39
<span><?php echo $ cat ->getName () ?> </span>
You can’t perform that action at this time.
0 commit comments