Get the path for any assets

Hey there,

im trying to access the Path of my Assets in the fluid Template
For example if i want to download a PDF uploaded via the MediaManger.
In the moment i only know how to retrieve the Path of an Image with the Media-ViewHelper.

Im grateful for any piece of advice!

thanks :blush:

Use the view helper f:uri.resource with {asset.resource}.


And you can actually do something like this

<img src="../../Public/Images/support.png" />

and Fluid wil automatically “translate the path” when it’s being rendered.