#103872ContentObjectRenderer::getImgResource() returns null when a processed file path is passed
Description
*1. Prerequisites:*
The attached custom ImageViewHelper must be implemented.
*2. Steps to reproduce:*
The custom ImageViewHelper must be called in a Fluid-Template like this:
<myExt:image image="{image}" alt="Foo" title="Bar" height="200" gifBuilderEffect="grey | gamma=2.0"
gifBuilderText="{align: 'right', offset: '-10,30', text: 'Hello World', fontsize: '35'}" fileExtension="png" />
Where {image} must be a type of File or FileReference.
*3. Actual Result:*
– A Img tag is rendered
– The path in the src attribute points to an image in “/typo3temp/assets/images/“
– But the size of the rendered image in the assets folder is just 1px x 1px. So in fact no image is shown.
*4. Expected result:*
– A properly rendered image with GifBuilder Effects and GifBuilder Text.
*5. Additional notes:*
In TYPO3 12.4 the ImageViewHelper works.
The only difference in the TYPO3 12.4 version of the ImageViewHelper is the line 136 where the imageUri is assigned:
$imageUri = $gifBuilder->gifBuild();