bigfork/silverstripe-webp-formatter
最新稳定版本:1.0.2
Composer 安装命令:
composer require bigfork/silverstripe-webp-formatter
包简介
Adds a .Webp() format option for converting images to webp
README 文档
README
This functionality is now available without a module: https://docs.silverstripe.org/en/5/changelogs/5.3.0/#file-converter
Silverstripe Webp Formatter
Adds a .Webp() function to templates to allow converting images to webp.
This is a module version of this proof of concept by Maxime Rainville.
To use this, your image driver (typically GD or Imagick) must be compiled with support for webp.
Usage
{$Image.Webp.ScaleWidth(150)}
or
{$Image.ScaleWidth(150).Webp}
统计信息
- 总下载量: 4.74k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2023-03-17