Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-14518

datatype ezimage - modifying original image failed in 4.1, 4.3 but works in 4.0 !!!

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 4.0.4, 4.1.0rc1
    • 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.

      Attachments

        Activity

          People

            qwix qwix
            4d91e976-d41f-487b-ae85-f7216bd06dac@accounts.ibexa.co Felix Woldt
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: