Get image

Utility for getting image paths

Initialize the image

{% set image = get_image(12345) %}

Get an image path by size

{{ image.by_size('thumbnail') }}

This will return the full path the image that you can use in CSS or image tags

/img/upload/image-name-here.thumbnail.jpg

Last updated