Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/deuxhuithuit/craft-cloudflare-images

Upload your images assets to Cloudflare Images from Craft CMS assets interface. Configure Craft's transform to use it.
https://github.com/deuxhuithuit/craft-cloudflare-images

craft-plugin craftcms craftcms-plugin hacktoberfest

Last synced: about 2 months ago
JSON representation

Upload your images assets to Cloudflare Images from Craft CMS assets interface. Configure Craft's transform to use it.

Awesome Lists containing this project

README

        

# Craft CMS Cloudflare Images

> This plugin offers a easy way to upload your images assets to Cloudflare Images from Craft CMS assets interface.
> It exposes the a file system and supports craft image transforms.

Installation:

1. Install with composer

```sh
composer require deuxhuithuit/craft-cloudflare-images
```

2. Install in craft

```sh
craft plugin/install cloudflare-images
```

3. Add your account id, account hash and api token in the settings. Those can be found in your
Cloudflare dashboard. We recommend to use env vars for this.

4. Go in craft and create a new File System using the Cloudflare Image FS. Also create a new Volume
that uses this FS. It can be used as the main FS, or simply as a transform FS in an existing Volume.

5. Make sure Flexible Variants are enabled in your Cloudflare dashboard
(see https://developers.cloudflare.com/images/cloudflare-images/transform/flexible-variants/)

6. Profit!

Made with ❤️ in Montréal.

(c) Deux Huit Huit