ez Image Editor: Rotation does not work

Author Message

Marco Zinn

Saturday 16 October 2010 6:07:46 am

Well, that says it all ;)

Running ez4.4 with the new image editor, the editor works quite fine (crop, flip, mirror, grayscale, sepia, watermarks). But rotating an image won't work.

Running PHP 5.2.6 with GD2.something.

Any ideas?

Marco
http://www.hyperroad-design.com

Marko Žmak

Sunday 17 October 2010 9:08:09 am

Marco, I'm not sure if this will solve it but try using imagemagick for image manipulaton.

Also it could be a browser related issue. On my site rotation works OK, I have "ImageMagick 6.4.8" and I'm using Firefox.

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Marco Zinn

Monday 18 October 2010 12:16:06 pm

Hi Marko,

thanks for your reply.

I tried to activate ImageMagick, but to no avail.

With GD, i set "HadGD2" to "true". That did not change anything.

I get errors like

[ Oct 18 2010 20:51:26 ] [94.216.116.112] eZINI::variable:
Undefined variable: '' in group 'GDSettings' in image.ini
[ Oct 18 2010 20:51:32 ] [94.216.116.112] eZContentObject::fetch():
Object not found ()

.... and why does ezOE still not allow me to leave the litaral text area???

... without having to save a draft?

Anyway.... after enabling ImageMagick (which IS installed at /usr/bin/convert), i get other errors.

[ Oct 18 2010 21:04:01 ] Unexpected error, the message was : Handler class 'ezcImageImagemagickHandler' not found. ImageMagick not installed or not available in PATH variable. in DOCROOT/lib/ezc/ImageConversion/src/handlers/imagemagick_base.php on line 406
[ Oct 18 2010 21:04:08 ] [94.216.116.112] eZLocale:
Could not load country settings for
[ Oct 18 2010 21:04:08 ] [94.216.116.112] eZLocale:
Could not load language settings for null
[ Oct 18 2010 21:04:08 ] [94.216.116.112] Can not find language.:
No such locale null!
[ Oct 18 2010 21:04:08 ] [94.216.116.112] error/view.php:
Error ocurred using URI: /eng/content/edit/115/2/null/save_and_quit

Still, it does not let me rotate an image in ezIE. I don't know, why i get errors about country settings (Content Language and Site Languages are English, Site is multilingual).

I read http://doc.ez.no/Extensions/eZ-Image-Editor/Setup-and-user-guide-eZ-Image-Editor/Known-issues-in-the-eZ-Image-Editor , but i do not know what to do about the "know issue". If the known issue is "ezIE does not work with a standard installation of ImageMagick", then this is bad news on quality...

Any more ideas?

Edit:

On the Admin Site, i can see "see" (Firebug) this: "

<b>Fatal error</b>:  Call to undefined function ImageRotate() in <b>DOCROOT/extension/ezie/classes/handlers/gd.php</b> on line <b>105</b><br /> 

as the answer to the POST request to http://HOST/ezflow_site_admin/ezie/tool_rotation.

Not good.... May be related to the missing setting from GDSettings...

I'm using the ez4.4 distribution with ezc included. There used to be a notice somewhere, that the bundled ezc were not up to date at some time... Is this still true?

Marco
http://www.hyperroad-design.com

Chris Williams

Friday 12 November 2010 2:24:02 am

Hi Marco,

Create or add to "image.ini.append.php"
[ImageMagick]
ExecutablePath=/usr/bin

Clear all your caches.
#goto ez directory
cd EZ DIR
#remove main cache and site specific caches
rm -rf var/cache/* var/*/cache/*

Try again, if it works, great.

If not... check "image.ini" under:

[ImageMagick]
Make sure "IsEnabled=true".

Hope this helps

I did post an issue about it not working without ExecutablePath set, which is linked to one of the urls you have mentioned.

http://issues.ez.no/IssueView.php?Id=17628

Chris

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.