The | media filter returns an address relative to the public URL of the Media Manager library. The result is a URL to the media file specified before the filter.

<img src="{{ 'banner.jpg' | media }}" />

If the media manager address is, the above example would output the following:

<img src="" />
Copyright © 2024 Winter CMS
Edit on GitHub