zenstruck/imagine-extra-bundle
最新稳定版本:v1.1.0
Composer 安装命令:
composer require zenstruck/imagine-extra-bundle
包简介
Integrate imagine-filters library into Symfony2
关键字:
README 文档
README
Integrates the imagine-filters library into Symfony2.
NOTE: This bundle requires either LiipImagineBundle or AvalancheImagineBundle
Installation
-
Add to your
composer.json:composer require zenstruck/imagine-extra-bundle -
Register the bundle with Symfony2:
// app/AppKernel.php public function registerBundles() { $bundles = array( // ... new Zenstruck\Bundle\ImagineExtraBundle\ZenstruckImagineExtraBundle(), ); // ... }
SquareThumbnailFilter
-
Usage with LiipImagineBundle
# app/config/config.yml liip_imagine: filter_sets: square_200: filters: square_thumbnail: { size: 200, color: 000000 }
-
Usage with AvalancheImagineBundle
# app/config/config.yml avalanche_imagine: filters: square_200: type: square_thumbnail options: { size: 200, color: 000000 }
Default Configuration
color: FFFFFF transparency: 0
统计信息
- 总下载量: 1.26k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2012-11-28