Skip to content Skip to footer navigation
🏰 Statamic Summit 2027 Feb 16–19 Talks, workshops, and three nights in a German castle. Get Tickets

Image Modifier

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

header_image: /assets/img/bokeh-bunnies.jpg
{{ header_image | image }}
{!! Statamic::modify($header_image)->image() !!}
<img src="/assets/img/bokeh-bunnies.jpg">