kenshodigital/kirby-cloudflare-images 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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:

  • blur
  • crop
  • format
  • grayscale
  • height
  • width

For the format setting, the following formats are available:

  • auto (recommended)
  • avif
  • jpeg
  • png
  • webp

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-07-02

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固