image url

A function version of the image_url filter.

Formats an image public URL with the given image cache preset. Wraps around the drupal function image_style_url

Example

<img src"{{image_url(node.field_image,'mypreset) }}">