Project

General

Profile

Actions

Feature #57417

closed

ImageViewHelper responsive Images

Added by Michel Georgy over 10 years ago. Updated 21 days ago.

Status:
Closed
Priority:
Could have
Assignee:
-
Category:
Fluid
Target version:
-
Start date:
2014-03-28
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
medium
Sprint Focus:

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.


Related issues 6 (1 open5 closed)

Related to TYPO3 Core - Feature #48090: AbstractTagBasedViewHelper should have a remove attributes method.Rejected2013-05-09

Actions
Related to TYPO3 Core - Feature #70965: Responsive Image Rendering in fluid_styled_contentClosed2015-10-23

Actions
Related to TYPO3 Core - Feature #27391: Allow multiple formats/resolutions for media-contentClosed2011-06-12

Actions
Related to TYPO3 Core - Story #75879: Add picture element to FSCRejectedRichard Haeser2016-04-23

Actions
Related to TYPO3 Core - Epic #77810: Improve (responsive) image handlingClosed2014-09-22

Actions
Related to TYPO3 Core - Feature #102215: ViewHelper to generate srcset for responsive imagesUnder Review2023-10-20

Actions
Actions #1

Updated by Alexander Opitz almost 10 years ago

  • Project changed from 2559 to TYPO3 Core
  • Category changed from Fluid: ViewHelpers to Fluid
  • Target version deleted (next-patchlevel)
Actions #2

Updated by Frank Gerards almost 10 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...

Actions #3

Updated by Claus Due almost 9 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).

Actions #4

Updated by Mathias Schreiber over 8 years ago

  • Target version deleted (next-patchlevel)
Actions #5

Updated by Riccardo De Contardi about 4 years ago

There's also the extension sms_responsive_images

https://extensions.typo3.org/extension/sms_responsive_images

Actions #6

Updated by Riccardo De Contardi 21 days ago

  • Related to Bug #101951: Adding file references from media / info-dialogue not possible added
Actions #7

Updated by Riccardo De Contardi 21 days ago

  • Related to deleted (Bug #101951: Adding file references from media / info-dialogue not possible)
Actions #8

Updated by Riccardo De Contardi 21 days ago

  • Related to Feature #102215: ViewHelper to generate srcset for responsive images added
Actions #9

Updated by Riccardo De Contardi 21 days ago

  • Status changed from New to Closed

I close this issue in favor of https://forge.typo3.org/issues/102215 that has a patch attached; please continue the discussion there
I added a relation between this issue and https://forge.typo3.org/issues/102215 to keep track of it.

If you think that this is the wrong decision please reopen it or open a new issue with a reference to this one. Thank you.

Actions

Also available in: Atom PDF