is_image

A boolean for whether the asset is an image.

{{ if is_image }}
    <img src="{{ url }}" />
{{ else }}
    <a href="{{ url }}">Download</a>
{{ /if }}
Betterify this page on Github!