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

ez image editor - problem with imagemagick - explaining what I did to make it work.

    XMLWordPrintable

Details

    Description

      Trying to use the eZ Image Editor (ezie) with ezPublish 4.4, ezc and imagemagick.

      Editing the image, loaded but the image did not.

      ( "convert" ) works via the command line.

      convert -version
      Version: ImageMagick 6.3.7 08/07/09 Q16 http://www.imagemagick.org
      Copyright: Copyright (C) 1999-2008 ImageMagick Studio LLC

      Checking for error messages within eZ "var/log/error.log".

      Unexpected error, the message was : Handler class 'ezcImageImagemagickHandler' not found. ImageMagick not installed or not available in PATH variable. in /var/www/cez/4.4/ez/lib/ezc/ImageConversion/src/handlers/imagemagick_base.php on line 406

      Fixable by setting the "ExecutablePath" within image.ini.

      There is mention to it here.
      http://doc.ez.no/Extensions/eZ-Image-Editor/Setup-and-user-guide-eZ-Image-Editor/Known-issues-in-the-eZ-Image-Editor

      I describe the problem more below.

      Within ezc.

      I edited the imagemagick_base.php to return the settings array to figure out what the problem was.

      "convert", by the time it gets to imagemagick_base.php gets turned into "/convert".

      To fix this, you need to set the ExecutablePath, with or without the ending "/". ( Proven below )

      file:image.ini.append.php

      Each example, the file is only made up of this. ( you can add the php stuff if you want )

      1. - works
      [ImageMagick]
      ExecutablePath=/usr/bin/

      2. - works
      [ImageMagick]
      ExecutablePath=/usr/bin

      3. - fails
      [ImageMagick]
      Executable=convert

      Hopefully google will pick up on this, so the next person will be able to find a quick solution.

      Attachments

        Activity

          People

            unknown unknown
            freshteapot freshteapot
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: