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:
- Install with composer
composer require deuxhuithuit/craft-cloudflare-images
- Install in craft
craft plugin/install cloudflare-images
-
Add your account id, account hash and api token in the settings.
-
Make sure Flexible Variants are enabled in your Cloudflare dashboard (see https://developers.cloudflare.com/images/cloudflare-images/transform/flexible-variants/)
-
Profit!
Made with ❤️ in Montréal.
(c) Deux Huit Huit