zenstruck / imagine-extra-bundle
Integrate imagine-filters library into Symfony2
Installs: 1 255
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 1
Forks: 0
Open Issues: 0
Type:symfony-bundle
pkg:composer/zenstruck/imagine-extra-bundle
Requires
- symfony/dependency-injection: ~2.1
- symfony/http-kernel: ~2.1
- zenstruck/imagine-filters: ~1.2
Requires (Dev)
Suggests
- avalanche123/imagine-bundle: For integration with AvalancheImagineBundle
- liip/imagine-bundle: For integration with LiipImagineBundle
This package is auto-updated.
Last update: 2020-10-28 14:17:20 UTC
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