Feature #57417
openImageViewHelper responsive Images
0%
Description
TYPO3 introduced the new responsive Images where you can define sourceCollection for Images. (srcset ...)
It would be nice if the image viewhelper would support this feature too.
Atm we use the cObject Viewhelper to achieve this, but imho the imageViewHelper should support that natively.
Updated by Alexander Opitz over 8 years ago
- Project changed from 2559 to TYPO3 Core
- Category changed from Fluid: ViewHelpers to Fluid
- Target version deleted (
next-patchlevel)
Updated by Frank Gerards over 8 years ago
- Target version set to next-patchlevel
I second that :).
How about enhancing the f:img viewhelper with a configuration attribute, which gets passed an array/json, syntax would be according to the typoscript-syntax.
We would then have to see how TS does the job on rendering and implement/extend that in the VH class...
Updated by Claus Due over 7 years ago
- Complexity changed from easy to medium
https://github.com/FluidTYPO3/vhs/blob/development/Classes/Traits/SourceSetViewHelperTrait.php could be implemented as a core ViewHelper Trait (that, and others from VHS too). Until then, you can use the VHS package as a replacement.
(and I've changed the complexity from easy to medium because it's not just a matter of accepting multiple sources, as you can see from the trait).
Updated by Mathias Schreiber over 7 years ago
- Target version deleted (
next-patchlevel)
Updated by Riccardo De Contardi about 3 years ago
There's also the extension sms_responsive_images
https://extensions.typo3.org/extension/sms_responsive_images