In my extensions Resource/Public
folder, I have an image. I want to render this image using the <f:image>
-ViewHelper, using the image
-attribute, which takes a FAL file object. How do I do that?
It's not that I can't use src
, I just don't want to - one less branch in my code.
I'm using TYPO3 6.2.14 and the FluidTYPO3-ecosystem.
I've gotten an answer in Slack, by Helmut Hummel: It is only possible when using the compatibility layer.
He wrote a blog post about this. The relevant section is this: