Details
-
Bug
-
Resolution: Fixed
-
Medium
-
4.0.1, 4.0.3, 4.1.0alpha2
-
None
-
Operating System: linux imagemagick
PHP Version: (please be specific, like '4.4.3' or '5.1.5')
Database and version:
Browser (and version):
Description
Totday i test the functionality of ezimage to convert original images after upload
# settings/image.ini
# By defining the 'original' alias and setting some filters
# or changing the MIME type you can even force a conversion of
# the originally uploaded image.
# This is useful to save space or make sure the image is in a specific format
# [original]
# Filters[]
# Filters[]=colorspace/gray
I tried to do the following, that makes an black and white image from the original and resize it.
[original] Filters[] Filters[]=colorspace/gray Filters[]=geometry/scaledownonly=1600;1600
In ez 4.01 and 4.03 this does not work. In an ez4.00 trunk version it works.
I found out, that the error must be in /lib/ezimage/classes/ezimagemanager.php.
If i change this file with the ez400 file all is ok. ( i attach the ezimagemanager.php from ez400 to this ticket )
I think this is a heavy bug!!!!!
I hope this issue will be fixed as soon as possible.
Thank's
Felix Woldt
Steps to reproduce
1. insert in your image.ini.append.php the following code
[original] Filters[] Filters[]=colorspace/gray Filters[]=geometry/scaledownonly=1600;1600
2. go to the admin and upload a normal image with colors
3. after publish the image must be black and white and if the picture was bigger than 1600x1600 it must be resize to.