sms-responsive-images icon indicating copy to clipboard operation
sms-responsive-images copied to clipboard

Is there any reason you don't add a height attribute to fallback image?

Open ktallafus opened this issue 3 years ago • 3 comments

https://github.com/sitegeist/sms-responsive-images/blob/1a559c160c0e260c17ad2f974365807748c34b7f/Classes/Utility/ResponsiveImagesUtility.php#L221

You could also do $fallbackTag->addAttribute('height', $fallbackImage->getProperty('height')); like it's done in f:media. Or am I missing something?

ktallafus avatar Mar 06 '21 15:03 ktallafus