[TYPO3-mvc] FYI: Easy way of generating links to DAM Assets

Lorenz Ulrich lorenz-typo3 at visol.ch
Thu Nov 24 17:52:22 CET 2011


Hi everyone

As a follow-up on a discussion with Stefano Cecere in the DAM list, I 
just want to let you know that if you want to generate proper links to 
DAM assets in Fluid, there is quite an easy way that even lets you use 
options like secured links.

Of course you need to have an object of a DAM record in Fluid, this is 
quite easy to have and there is at least one helper extension available [1].

If the mediatag for DAM is properly set up in TypoScript configuration, 
you can use TYPO3 parseFunc to apply this configuration to links to your 
asset:

<f:format.html>
	<media {damfile.uid}>{damfile.title}</media>
</f:format.html>


Best regards,

Lorenz


[1] http://forge.typo3.org/projects/show/extension-extbase_dam


More information about the TYPO3-project-typo3v4mvc mailing list