kenshodigital/kirby-cloudflare-images
Composer 安装命令:
composer require kenshodigital/kirby-cloudflare-images
包简介
Transforms images with Cloudflare Images in Kirby projects.
README 文档
README
Transforms images with Cloudflare Images in Kirby projects.
General
The plugin provides a custom file version component that automatically maps Kirby’s image transformations to the Cloudflare Images URL interface.
Further reading
Usage
Installation
composer require kenshodigital/kirby-cloudflare-images ^1.0
Setup
Cloudflare
Image transformations are disabled by default and have to be explicitly enabled for a zone in Cloudflare.
Further reading
Kirby
Set the thumbs driver to cloudflare in your config.php.
<?php declare(strict_types=1); return [ 'thumbs' => [ 'driver' => 'cloudflare', 'format' => 'auto', ], ];
The plugin currently supports the following subset of Kirby’s standard image transformations:
blurcropformatgrayscaleheightwidth
For the format setting, the following formats are available:
auto(recommended)avifjpegpngwebp
The crop transformation supports all of Kirby’s standard options, including focal points. The plugin also supports the following Cloudflare-only options:
auto(recommended)face
Cloudflare-only options will automatically fall back to appropriate standard options for other thumb drivers (for example, in a local or testing environment).
Further reading
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-07-02