craftsnippets/craft-image-toolbox
最新稳定版本:3.0.1
Composer 安装命令:
composer require craftsnippets/craft-image-toolbox
包简介
Image toolbox
README 文档
README
Image Toolbox is Craft CMS plugin that helps with the use of image transforms in templates.
Features
- Automatic creation of avif and webp variant of the images, with fallback for browsers that don't support these formats.
- Automatic creation of placeholder images. Plugin outputs either transformed image or placeholder with size based on image transform, if image is missing.
- Generating responsive images with multiple variants, displayed on specific breakpoints by using
<picture>element. - Imager-x (or old Imager) support - but you can use it with native Craft image transforms as well.
Installation
To install the plugin, follow these instructions.
-
Open your terminal and go to your Craft project:
cd /path/to/project -
Then tell Composer to load the plugin:
composer require craftsnippets/craft-image-toolbox -
In the Control Panel, go to Settings → Plugins and click the “Install” button for Image toolbox.
Documentation
Click here for Image toolbox documentation
Roadmap
- Retina support
- Applying transform on assets within HTML strings
统计信息
- 总下载量: 16.16k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 16
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2020-10-18