eZ Community » Forums » eZ Publish 5 Platform » Missing Features or documentation for...

Missing Features or documentation for new image aliases?

Missing Features or documentation for new image aliases?

Tuesday 03 February 2015 7:39:57 am - 4 replies


I'm giving the new image aliases (with LiipImagineBundle) a try, and I'm having problems getting back the old aliases I have created.

For instance, I had a custom "contain" resize+crop alias.  My understanding is that this works with the default LiipImagine bundle "thumbnail" filter, and it seems to in raw PHP, but not in ezpublish.  This is how I set up my image_variation in eZ, but the "mode" is not used:

<span style="color: #e8bf6a;">filters:
</span><span style="color: #e8bf6a;"> </span><span style="color: #e8bf6a;">                        - { name: thumbnail, params: { size: [323, 181], mode: outbound, allow_upscale: true } }</span>

Maybe I am specifying the configuration wrong?  The eZ documentation examples do not give any examples of the format from the filters supplied by Liip, so I'm not sure.

I also am having problems cropping with center gravity.

Has anyone found examples or documentation for configuring custom variations with the newest image processing system?

Tuesday 03 February 2015 4:23:50 pm

Hi Jackson

Did you try just defining your filter in Liip config?

As for center gravity, you'll have to define a filter for that, and yes you'll have to write it in PHP.

Tuesday 03 February 2015 5:03:54 pm

Quote from Jérôme Vieilledent :

Did you try just defining your filter in Liip config?

I thought, that the default filters available from liip imaginebundle were automatically available to be used in image_variations in ezpublish.yml .  "thumbnail" is one of those defaults, so I should only have to reference the filter from my image variation.

Is that not the case?  If so, do you know where there is documentation explaining where I can link up the default liipimaginebundle filters with ez?

Wednesday 20 January 2016 5:01:51 pm

Same problem here, I’m trying to use the thumbnail filter in outbound mode.

I tried to follow the instructions on this page:


The liip filter example is confusing and poorly documented, there is an alias in ezpublish.system.my_siteaccess.image_variations called "reduced_jpeg", without any filters, and the filter set defined in liip_imagine.filter_sets is called mediumimage: is the image_variations entry really needed? should it have the same name as the liip filter set?

also, "filter_sets" is under "liip_imagine.drivers", but it should just be under "liip_imagine".

Still trying to make it work, I’ll try to follow-up if I find a solution.

Modified on Wednesday 20 January 2016 5:08:14 pm by Ronan Leroy

Wednesday 20 January 2016 5:08:02 pm

I had to post to find the solution... The confusing part in the documentation is the ezpublish image_vaiations entry. It should not be there at all.

I had set up an entry with the same name as the liip entry, with no filters, so the image was identical to the original.

With only the liip filter, it is correctly used and my image is cropped and resized.


You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from