You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If i use <picture> tag with sources with "srcset" and "sizes", and enable lazy loading using the native loading="lazy" attribute, Chrome does not load the images on page load. Adding the height attribute to the image-tag solves the problem.
Add in line 239 of ResponsiveImagesUtility.php:
$fallbackTag->addAttribute('height', $fallbackImage->getProperty('height'));
The text was updated successfully, but these errors were encountered:
If i use <picture> tag with sources with "srcset" and "sizes", and enable lazy loading using the native loading="lazy" attribute, Chrome does not load the images on page load. Adding the height attribute to the image-tag solves the problem.
Add in line 239 of ResponsiveImagesUtility.php:
$fallbackTag->addAttribute('height', $fallbackImage->getProperty('height'));
The text was updated successfully, but these errors were encountered: