This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit ezplatform.com

eZ Community » Forums » Install & configuration » Imagemagick and ezpublish5 (2013.1)
expandshrink

Imagemagick and ezpublish5 (2013.1)

Imagemagick and ezpublish5 (2013.1)

Sunday 31 March 2013 11:24:20 pm - 2 replies

Hi,

I have problem with ImageMagick config in ezpublish 5.

in image.ini.append.php (ezpublish.legacy)

[ImageMagick]
Filters[]=thumbnail=-resize x%4 -resize %3x< -resize 50% -gravity center -crop %1x%2+0+0 +repage
Filters[]=thumb=-resize 'x%1' -resize '%1x<' -resize 50% -quality 90
Filters[]=centerimg=-gravity center -crop %1x%2+0+0 +repage
Filters[]=sharpen=-sharpen 0.5

 

And usage:

[campaign]
Reference=
Filters[]
Filters[]=thumbnail=770;390;1440;780
Filters[]=sharpen=

This image is not scaling. Could you tell me how to resolve this problem?

Regards

Modified on Sunday 31 March 2013 11:25:07 pm by Rafał Kostecki

Monday 01 April 2013 12:03:17 am

I've solved this problem in ezpublish.yml, but what about image.ini.append.php? I can't import proper config from legacy ez publish using ezpublish:configure

imagemagick:
enabled: true
path: /usr/bin/convert
filters:
       thumbnail: "-resize x{4} -resize {3}x< -resize 50% -gravity center -crop {1}x{2}+0+0 +repage"
       sharpen: "-sharpen 0.5"

Thursday 02 May 2013 8:23:39 am

You should have a look at this thread : http://share.ez.no/forums/ez-publ...-platform/custom-imagemagick-filters

expandshrink

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

36 542 Users on board!

Forums menu

Proudly Developed with from