Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/deuxhuithuit/craft-cloudflare-images
- Owner: DeuxHuitHuit
- License: other
- Created: 2023-10-26T15:40:44.000Z (about 1 year ago)
- Default Branch: dev
- Last Pushed: 2024-08-14T15:51:28.000Z (4 months ago)
- Last Synced: 2024-09-14T20:58:09.459Z (3 months ago)
- Topics: craft-plugin, craftcms, craftcms-plugin, hacktoberfest
- Language: PHP
- Homepage: https://plugins.craftcms.com/cloudflare-images
- Size: 40 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
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