Bug #103872
openContentObjectRenderer::getImgResource() returns null when a processed file path is passed
0%
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();
Files
Updated by Gerrit Code Review 25 days ago
- Status changed from New to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/84337
Updated by Gerrit Code Review 25 days ago
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/84337
Updated by Gerrit Code Review 25 days ago
Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/84337
Updated by Gerrit Code Review 25 days ago
Patch set 4 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/84337
Updated by Gerrit Code Review 24 days ago
Patch set 5 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/84337