unionco/craft-cloudconvert
最新稳定版本:0.1.0.3
Composer 安装命令:
composer require unionco/craft-cloudconvert
包简介
CloudConvert Thumbnail API integration for Craft CMS
README 文档
README
Thumbnail integration via CloudConvert for Craft CMS 3 & 4
This plugin is still in development and should not be used in production
Versions and Compatibility
- 1.x.x -> Craft CMS 3
- 2.x.x -> Craft CMS 4
Installation
TBD
Copy config file into your project:
cp vendor/unionco/craft-cloudconvert/config.php config/cloudconvert.php
and customize as needed.
Each config option is documented in vendor/unionco/craft-cloudconvert/src/models/Settings.php and a brief overview is below (Configuration)
Configuration
apiKey- (string) The CloudConvert API key. You must create your own CloudConvert account and generate your own API key.thumbnailFolderUid- (string) Volume Folder UID as generated by Craft's Project Config. You can lookup this value via the database table{{%volumefolders}}sandbox- (bool) Should CloudConvert operate in Sandbox mode?enabled- (bool) Should this plugin be enabled in this environment?thumbnailWidth- (int) Defaults to 300thumbnailHeight- (int) Defaults to 300thumbnailFit- (string) e.g. 'crop'
Usage
- This plugin provides an interface for generating a thumbnail from a Craft Asset element. How you would like to hook it up with your CMS and business logic is up to you.
- This plugin will not automatically do anything unless explicitly configured to do so by you
API
CloudConvert Service
(Work in progress)
统计信息
- 总下载量: 373
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-10-31