[BUGFIX] Fix resource handling in image rendering 05/28305/4
authorAlexander Stehlik <alexander.stehlik@gmail.com>
Wed, 12 Mar 2014 17:41:37 +0000 (18:41 +0100)
committerErnesto Baschny <ernst@cron-it.de>
Sun, 16 Mar 2014 02:15:29 +0000 (03:15 +0100)
commitdf8672fb473430a501ea37d8345b1020d89e7b83
treebc7ad815b9613fe2f3c4694b357b8218f78b74f4
parent2a9d2c95f01daeea9df13a594c4b14cc78ae0c98
[BUGFIX] Fix resource handling in image rendering

The image rendering configuration of css_styled content is fixed so
that the image reference is correctly passed on through all further
methods.

The IMG_RESOURCE content object also accepts file or file reference
objects and will only pass on the file to TemplateService::getFileName()
if GIFBUILDER is used to prevent PHP warnings.

This fixes the image rendering after the imageLinkWrap function was
made FAL aware in #56723.

Releases: 6.2
Resolves: #56825
Change-Id: Ie6b0261de40b25aab26740b4d889a1eebc3e7a8c
Reviewed-on: https://review.typo3.org/28305
Reviewed-by: Stefan Neufeind
Reviewed-by: Xavier Perseguers
Reviewed-by: Ernesto Baschny
Tested-by: Ernesto Baschny
typo3/sysext/css_styled_content/static/setup.txt
typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php