PHPackages                             paul-blundell/craft3-glide - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. paul-blundell/craft3-glide

Abandoned → [wishanddell/craft-glide](/?search=wishanddell%2Fcraft-glide)ArchivedCraft-plugin[Utility &amp; Helpers](/categories/utility)

paul-blundell/craft3-glide
==========================

Add Glide support to Craft 3

1.0.5(4y ago)51421PHP

Since Jul 14Pushed 2y ago1 watchersCompare

[ Source](https://github.com/paul-blundell/Glide-for-Craft)[ Packagist](https://packagist.org/packages/paul-blundell/craft3-glide)[ RSS](/packages/paul-blundell-craft3-glide/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (1)Dependencies (2)Versions (5)Used By (0)

Glide for Craft
===============

[](#glide-for-craft)

**Craft 5 and Glide 2.0** version available at:

On-demand image manipulation for Craft 3 using Glide 1.0 from The PHP League.

Example Usage
-------------

[](#example-usage)

```

```

If your asset uploaded to craft is `mysite.com/assets/img/animage.jpg`then this can now be rendered with Glide at `mysite.com/glide/animage.jpg?w=100`

For more information about what parameters are supported please see the [Glide website](https://glide.thephpleague.com/1.0/api/quick-reference/).

Installation
------------

[](#installation)

```
composer require paul-blundell/craft3-glide

```

Set your Local Asset Volume base URL to the following;

```
https://your-domain.com/path-to-craft/glide/

```

CDN / Advanced Usage
--------------------

[](#cdn--advanced-usage)

I strongly recommend using [Imgix](https://www.imgix.com/) if your budget will allow it. It works in a similar way to this plugin but with a few nice extra features and all responses are served via CDN.

This plugin was never intended to replace Imgix, Cloudinary, etc. but rather is aimed at smaller projects with tighter budgets that need more flexibility than Crafts native transforms.

It should be possible to create a CDN distribution using your domain as the origin, just make sure Query String Forwarding is enabled.

Security
--------

[](#security)

By signing each request with a private key, no alterations can be made to the URL parameters.

Create the file `config/glide.php` with the following:

```
