Questions tagged [liipimaginebundle]

Symfony2 Bundle to assist in imagine manipulation using the imagine library

This bundle is a fork of AvalancheImagineBundle which provides easy image manipulation support for Symfony2. The goal of the fork is to make the code more extensible and as a result applicable for more use cases.

Nice support for user defined filter and cloud storage system is included.

Link to Github repo

154 questions
21
votes
5 answers

Use LiipImagineBundle to Resize Image after Upload?

I'm using the LiipImagineBundle with Symfony 2.1 and would like to resize user uploaded images upon upload before saving them to the permanent filesystem location (to strip metadata, impose jpeg format, and limit the size of the file). I have to…
RayOnAir
  • 1,988
  • 2
  • 21
  • 32
17
votes
3 answers

How to tell cloudfront to not cache 302 responses from S3 redirects, or, how else to workaround this image caching generation issue

I'm using Imagine via the LIIPImagineBundle for Symfony2 to create cached versions of images stored in S3. Cached images are stored in an S3 web enabled bucket served by CloudFront. However, the default LIIPImagineBundle implementation of S3 is far…
8
votes
2 answers

Symfony 2.7 : asset component not working with imagine_filter

With the introduction of the asset component in Symfony 2.7, how can I output the relative url of an asset without a version number ? I am using the following code whcih does not work anymore :
Sébastien
  • 4,477
  • 9
  • 44
  • 98
8
votes
4 answers

Remove/update cached image while update/delete record with liipImagineBundle

I am new to symfony2. I am using liipImagineBundle to manage image thumbnail. I have a product entity class which uses Lifecycle Callbacks to manage product image. Product.php
Hardeep Pandya
  • 867
  • 1
  • 8
  • 26
7
votes
3 answers

Symfony2: Is it possible to add configuration for another bundle via DependencyInjection?

In Symfony2's config.yml you can add an "import" such as: imports: - { resource: services.yml } Inside my services.yml I then have: imports: security_bundle: resource: @AcmeSecurityBundle/Resources/config/services.yml However the…
Kasheen
  • 5,331
  • 2
  • 29
  • 41
6
votes
2 answers

LiipImagineBundle: How to apply filter in controller?

I want to use LiipImagineBundle to resize my uploaded pictures in the controller. $extension = $file->guessExtension(); $newfilename = sha1(uniqid(mt_rand(), true)); $tmp_folder = $this->get('kernel')->getRootDir() . '/../web/uploads/tmp/'; //…
Fabian
  • 1,706
  • 5
  • 21
  • 38
6
votes
1 answer

Symfony, Liip Imagine bundle not working on server in prod environment

I have a project where I keep my uploaded images in src/My/Bundle/Resources/uploads/images/full and use the twig filter imagine_filter to dynamically create thumbnails. On my local machine it works flawlessly and so does on my server, but there only…
6
votes
3 answers

Symfony LiipImagineBundle: filters not working for big images

I am currently developing the possibility for some users to upload images on a backend. Those images are supposed to be rendered on a mobile app later. I am in an early stage of development, I want to resize images that any users are uploading to…
Tíbó
  • 1,123
  • 12
  • 27
6
votes
1 answer

Dynamic filter with liipImagineBundle

I'm using liipImagineBundle and am trying to apply a filter directly into a controller. In the doc I found two sections in which explains how to use liipImagineBundle from the controller. This one…
JGrinon
  • 1,421
  • 1
  • 14
  • 34
5
votes
1 answer

Sylius liip imagine: Unable to open image

I'm working on a Sylius 1.5 project, everything is working fine on my local environment however when deploying to my dev environment I'm getting an error on filtered images (using liip imagine filters). The environment consists of a docker…
J Dubuis
  • 442
  • 4
  • 11
5
votes
1 answer

Update and remove cached image using Liipimaginebundle

I'm using liipimaginebundle and everything work fine except for deletion and update cached images when I update the original image. I would to know How can I do this config.yml liip_imagine: resolvers: default: web_path: ~ filter_sets: …
hous
  • 1,953
  • 2
  • 18
  • 54
5
votes
2 answers

LiipImagineBundle thumbnails doesn't work

I am just trying to get working LiipImagineBundle. Ok, all I got so far: Installed using composer $ php composer.phar require "liip/imagine-bundle:dev-master" Enabled bundle in AppKernel.php new Liip\ImagineBundle\LiipImagineBundle(), Added…
nydiann
  • 111
  • 3
  • 6
4
votes
1 answer

Oneup flysystem and liip imagine local cache settigns

I have a folder outside the project root which contains uploaded images now i want to store the Liip imagine cache there as wel by making use of the oneup flysystem. config.yml liip_imagine: resolver: upload_adapter: …
Vincent T
  • 2,034
  • 2
  • 7
  • 18
4
votes
1 answer

LiipImagineBundle can't resolve image

I'm using liipImagineBundle but I can't get it work. Everything is installed correctly, but when I try to apply a filter the resolver doesn't create the image.
BarneyK
  • 197
  • 2
  • 10
4
votes
1 answer

LiipImagineBundle: change the path where the images are saved after applying the filter

I have this this config: liip_imagine: resolvers: default: web_path: ~ filter_sets: cache: ~ subitem_in_category: path: ~ ///how to change the default path where the images are saved? …
ziiweb
  • 28,757
  • 70
  • 168
  • 290
1
2 3
10 11