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">
image
ModifierGenerate 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">
Submit improvements, related content, or suggestions through Github.
Betterify this page →