image

Insert an image tag.

Specification

{{ image_filename | image }} or
{{ image_filename | image: css_class }} or
{{ image_filename | image: css_class, alternative_text }}

Parameter Description Example Values
image_filename (required) The image filename. “/logo.png”
css_class The CSS class name. “logo”
alternative_text The alternative text. “The Site Logo”

Examples

Insert an image …

{{ "/logo.png" | image }}

Insert an image with a css classes …

{{ "/logo.png" | image: "img-responsive" }}

Insert an image with css class name and alternative text …

{{ "/logo.png" | image: "img-responsive", "The site logo" }}