[BUGFIX] Fix image descriptions for renderMethod = table 10/41810/2
authorTorben Hansen <derhansen@gmail.com>
Thu, 16 Jul 2015 08:12:07 +0000 (10:12 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Wed, 22 Jul 2015 12:50:34 +0000 (14:50 +0200)
commitc46ea06f04b9ad97e22f387f0e6c0cd6112fc5d6
tree27592da29a876f3f5285866ab994f029df516b7f
parent4b6dc6bf0df7d5fc4c3cab9721e120a401a96fd3
[BUGFIX] Fix image descriptions for renderMethod = table

Image descriptions are not rendered correctly using
renderMethod = table, since only the description of the
last image is rendered when you have multiple images
in a content object..

This patch loads the current image file reference to the
contentObjectRenderer while looping through all images
in order to output the image descriptions.

Resolves: #68153
Releases: master, 6.2
Change-Id: I273fff90a5ab3a35e6422ca74b6d83b298b9b09d
Reviewed-on: http://review.typo3.org/41810
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/frontend/Classes/ContentObject/ImageTextContentObject.php