glue-agency/craft-glue-cdn-imager-x
Composer 安装命令:
composer require glue-agency/craft-glue-cdn-imager-x
包简介
Glue Agency image CDN for Imager X
README 文档
README
Glue Agency image CDN for Imager X
Requirements
This plugin requires Craft CMS 4.3.5 or later, and PHP 8.0.2 or later.
Installation
You can install this plugin from the Plugin Store or with Composer.
With Composer
Open your terminal and run the following commands:
# go to the project directory cd /path/to/my-project.test # tell Composer to load the plugin composer require glue-agency/craft-glue-cdn-imager-x # tell Craft to install the plugin php craft plugin/install glue-cdn-imager-x
Configuration
Create the glue-cdn-imager-x.php file in /config and add the following.
return [ 'baseUrl' => rtrim(getenv('GLUE_CDN_DOMAIN'), '/'), 'signKey' => getenv('GLUE_CDN_SIGN_KEY'), 'defaultParams' => [ 'dpr' => 2, ], ];
Update the Imager-X transformer to glue-cdn.
统计信息
- 总下载量: 6.74k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: mit
- 更新时间: 2023-10-25