[TYPO3-mvc] Fluid ViewHelper Link.File?

Thomas "Thasmo" Deinhamer thasmo at gmail.com
Wed Dec 9 21:59:20 CET 2009


Good evening,

am I missing a viewhelper for linking files?

I'm asking 'cause I needed to link to an image
inside a fluid template. Instead of using a native
'file' link viewhelper I used this instead:

<f:link.external uri="/{settings.images.path}{image}">
	<f:image />
</f:link.external>

Is there a cleaner solution to do this?

Thanks a lot!

PS: I tried this, but it gives an error:

<f:link.external uri="{f:uri.resource(path:{settings.images.path}{image})}">


More information about the TYPO3-project-typo3v4mvc mailing list