daddl3/liip_imagine_template_bundle
liip/imagine-bundle + this bundle.composer.json.product.show), or are they global?ServiceProvider). Example:
// Pseudocode for Laravel integration
$imagine = new \Liip\ImagineBundle\Imagine\CacheManager($loader, $filterManager);
$template = $this->container->get('liip_imagine.template.manager')->get('product_thumbnail');
$image = $imagine->find($template)->get($originalPath);
spatie/laravel-medialibrary as an alternative with built-in image manipulation.resize(200, 200)).liip/imagine-bundle and daddl3/liip_imagine_template_bundle.config/packages/liip_imagine.yaml:
liip_imagine:
templates:
product_thumbnail:
quality: 80
filters:
- { name: 'thumbnail', size: [200, 200] }
banner_large:
format: 'webp'
filters:
- { name: 'resize', size: [1200, 400] }
// Before
$image->thumbnail(200, 200)->save($path);
// After
$image = $this->imagineManager->findImage('product_thumbnail', $originalPath);
liip_imagine.yaml).Cache-Control headers for processed images.config/packages/liip_imagine.yaml.Liip\ImagineBundle\Exception\FilterException.composer.json to avoid surprise updates:
"require": {
"liip/imagine-bundle": "^2.3",
"daddl3/liip_imagine_template_bundle": "^1.0"
}
%debug% route) to inspect template execution.thumbnail, resize) are installed in LiipImagine.memory_limit. Adjust or use queue workers.| Issue Type | Owner | Resolution Time |
|---|---|---|
| Template config error | Backend Dev | <1 hour |
| Filter performance | DevOps | 2–4 hours |
| Storage adapter failure | SRE | 1–2 hours |
How can I help you explore Laravel packages today?