This TYPO3 extension provides ViewHelpers and configuration to render valid responsive images based on TYPO3's image cropping tool.
This TYPO3 extension provides ViewHelpers and configuration to render valid
responsive images based on TYPO3’s image cropping tool.
The development and the public-releases of this package is generously sponsored
by my employer https://sitegeist.de.
This extension is available via packagist.
composer require sitegeist/sms-responsive-images
Alternatively, you can install the extension from TYPO3 TER:
TYPO3 TER: sms_responsive_images
For further instructions, please take a look at the full documentation.
constants.ts
and setup.ts
manually in your TypoScript configuration, theseconstants.typoscript
and setup.typoscript
.final
,There are a few breaking changes which might require you to update your integration:
picturefill
attribute of <sms:image ></sms:image>
and <sms:media ></sms:media>
has been removed,ignoreFileExtensions
parameter.lazyload
is enabled, image tags will get a class="lazyload"
automatically.There are also some changes under the hood you might want to consider:
SMS\SmsResponsiveImages
to Sitegeist\ResponsiveImages
,.1579774724
instead of .100
to overwrite the image partialImage.html
file again, you need to specify yourTo get an overview of responsive images in general and what the extension does, take a
look at the following blog post:
sitegeist Techblog: Responsive Images with TYPO3 8.7+
You will find the full documentation for this extension on typo3.org: