#40254Empty return value in uri.image view helper
Description
The render() Method in Tx_Fluid_ViewHelpers_Uri_ImageViewHelper contains these lines:
$imageInfo = $this->contentObject->getImgResource($src, $setup); ... $imageInfo[3] = t3lib_div::png_to_gif_by_imagemagick($imageInfo[3]);
Problem is, that tslib_cObj::getImgResource() does not return numeric indices in the return array, but string indices ($imageInfo[‘origFile’] instead of $imageInfo3). Thus, the return value of this view helper is always empty. If I simply change that line to:
$imageInfo[3] = t3lib_div::png_to_gif_by_imagemagick($imageInfo['origFile']);
it works again. (the “fix” should be a little better, of course).