Imgix Template Filter

Imgix is a service that lets you process, manipulate and optimise images on the fly and then serve the images via a fast CDN. Pipit Imgix is a Perch template filter that generates Imgix URLs for your images.

With Imgix, you no longer need to worry about setting up an image optimisation process on your server. You don’t have to manually optimise the images yourself before uploading. You don’t have to worry about your client uploading images that are not optimised for the web.

Example usage:

<perch:content id="image" type="image" filter="imgix" opts="auto=format&q=80&w=800">

Or if you prefer, you can add each option on its own attribute:

<perch:content id="image" type="image" filter="imgix" imgix-auto="format" imgix-q="80" imgix-w="800">

Refer to the documentation for setup and configuration instructions. If you have any issues or suggestions, feel free to open a new issue on GitHub.

You can download the template filter from the changelog.

link