[BUGFIX] IMAGE param stdWrap-function not working 96/29796/6
authorOliver Hader <oliver@typo3.org>
Sat, 3 May 2014 09:51:55 +0000 (11:51 +0200)
committerOliver Hader <oliver.hader@typo3.org>
Sat, 3 May 2014 12:27:55 +0000 (14:27 +0200)
commitf7e8ef16ff20993b5a4ec2850e680ee615e583f7
treefb182d8e096ff62d44f69be22f8b99d7173d2d1b
parent3aad81e56ea60a279df43cee31a802334b0e1ed7
[BUGFIX] IMAGE param stdWrap-function not working

Images in TypoScript are rendered using method cImage() of
the ContentObjectRender. This method has the possibility to
modify the HTML parameters to be set.

However, the parameters are not recognized, if those are only
rendered using stdWrap functions, e.g. using params.dataWrap

This change moves method stdWrapValue() from the FILES cObject
to the parent ContentObjectRenderer and delegates the call to
the new location of that method.
Besides that, a superfluous space has been removed from the
template markers definition.

Resolves: #58420
Releases: 6.2
Change-Id: I56229ef5aa5133205114c6ee945a68983ef3f52e
Reviewed-on: https://review.typo3.org/29796
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Jan Runte
Tested-by: Jan Runte
Reviewed-by: Wouter Wolters
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
typo3/sysext/css_styled_content/static/setup.txt
typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php
typo3/sysext/frontend/Classes/ContentObject/FilesContentObject.php