🐛 [BUG] image viewHelper is used by default with originalResource.publicUrl
Describe the bug
in the templates for images or other resources the url-path is used.
This works well with ASCII characters but not with UTF-8 if special characters like Umlaus are used.
Currently the produced code in templates looks like this:
<f:image src="{publication.image.originalResource.publicUrl}" width="200"/>
The path is then url-encoded and produces something like this: /fileadmin/t%C3%A4st.jpeg, and that's the reason that in the filesystem the file is not found.
To Reproduce Steps to reproduce the behavior:
- use a model with resources like images.
- reference a resource with Umlauts like Ä, Ö, Ü
- Call the page in FE
- See error
Expected behavior A rendered image, based on a path that can be resolved in any case, even when Umlauts or other special characters are included.
TYPO3 Version 11.5.4
Extension Builder Version: TER version 11.0.1
Additional Context Images can be created from PDF and perhaps other resources too, therefore I mentioned resources more general than just images only.