定制 zenstruck/imagine-extra-bundle 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

zenstruck/imagine-extra-bundle

最新稳定版本:v1.1.0

Composer 安装命令:

composer require zenstruck/imagine-extra-bundle

包简介

Integrate imagine-filters library into Symfony2

关键字:

README 文档

README

Build Status Scrutinizer Code Quality Code Coverage SensioLabs Insight Latest Stable Version License

Integrates the imagine-filters library into Symfony2.

NOTE: This bundle requires either LiipImagineBundle or AvalancheImagineBundle

Installation

  1. Add to your composer.json:

     composer require zenstruck/imagine-extra-bundle
    
  2. 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

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2012-11-28