Glide Image Transforms icon

Glide Image Transforms

Plugin screenshot thumbnail 1/1

On-demand image manipulation for Craft CMS using Glide 2.0 from The PHP League.

Note: this currently only supports local storage volumes.

Example usage

<img src="myimage.jpg?w=100&h=200" alt="My Image" />

For more information about what parameters are supported please see the Glide website.

Installation

Assets can be rendered through Glide using:

https://your-domain.com/path-to-craft/glide/{filename}

Or via Twig with:

My Image

Why use this plugin

We'd generally recommend reaching for Imgix, ImageKit, Cloudinary or similar instead. These services offer on the fly image manipulation, optimisation and CDN support, providing a step up from Crafts transforms and makes working with headless frontends a little bit easier. However, this plugin exists for when you are working with smaller budget projects and want to work with images in the way you are used to on other projects, it will also allows you to easily swap out Glide for one of these services in the future.

Installation Instructions

To install this plugin, copy the command above to your terminal.

Active Installs
1
Version
2.0.2
License
MIT
Compatibility
Craft 5
Last release
May 18, 2024
Activity (30 days)
0
Closed Issues
0
Open Issues
0
Merged PRs
0
Open PRs