Modifier: image


Generate an HTML image element with the variable’s value as src.

header_image: /assets/img/bokeh-bunnies.jpg
{{ header_image | image }}
<img src="/assets/img/bokeh-bunnies.jpg">

Additional Reading

Learn how to use and chain modifiers in the Antlers template guide.

Last modified on December 14, 2017