sms-responsive-images
sms-responsive-images copied to clipboard
This TYPO3 extension provides ViewHelpers and configuration to render valid responsive images based on TYPO3's image cropping tool.
The extension seem to work ok on v13.
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...
I am upgrading from 2.1.3 to 3.0.0. Before the upgrade i could deliver a static image width via the `width` attribute. After the upgrade the `width` attribute is completely ignored...
Should solve issue #48
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?
Images can be cropped to fit a certain aspect ratio. To display a placeholder image with a correct aspect ratio, the crop area should be used. Currently the original size...
The extension adds a few TypoScript options to `lib.contentElement` which should be explained in the documentation. How to specify those options per column should also be mentioned: https://techblog.sitegeist.de/responsive-images-with-typo3-8-7/#comment-4
It should be possible to specify/overwrite the image quality option. Ideally, it should be possible to specify multiple qualities, e. g. to generate lower-quality for high dpi images.
Currently the maxHeight attribute is ignored when in srcset mode.