Imgix IntegrationΒΆ

Glass has imgix integrated into the image storage, to build complex images and thumbnails. Imgix is well documented on their site

To get an imgix url for one of your images, use the {% imgix_url <base img> %} tag.


<!-- creating an imgix_url for dynamic content -->
{% imgix_url page.content.header_image %}
<img src="{% imgix_url page.content.header_image %}?w=200" />

<!-- creating an imgix_url for static files -->
{% imgix_url "images/huge_photo.jpg" %}