G2 Remote: ImageMagick could not be found or is malfunctioning (but works via shell)

m2

Joined: 2009-02-15
Posts: 14
Posted: Sun, 2009-10-11 14:57

Hi all,

I set up Gallery2 on a webserver. Everything was fine until I wanted to upload photos.
This are two imporant setting of G2:

1. Maximum size of elements are 1 MB.
2. So I want to use ImageMagick to resize bigger elements. Acticated and seems to work:

That is what I do step by step:
- Login the gallery
- Add element via Gallery Remote (Java Webstart)
- Conntect the Gallery and choose a album
- Add a big photo to G2 Remote. Then I get the message:

- I start the upload anyway:

After a few seconds it abords:

This also worked via ssh:

Quote:
/usr/bin/convert -quality 90 -size 150x150 +profile '*' 'CIMG0001.JPG' -geometry 150x150 'thumb.jpg'

I don't understand this at all! Can someone help please?


Gallery version: 2.3
Gallery Remote version: 1.5.1-b38
PHP version: 5.2.6-1
Webserver: Apache2
Database: mySQl 5.0.51a
Activated toolkits (e.g. NetPbm, GD): ImageMagick, NetPBM
Operating system (e.g. Linux): Debian Lenny
Browser: FireFox 3.5.3

Login or register to post comments
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 3164
Posted: Sun, 2009-10-11 15:49

It's referring to imageMagick locally on the client, not the webserver.
The binary on the server has no privileges to work on images locally on your computer.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

Login or register to post comments
m2

Joined: 2009-02-15
Posts: 14
Posted: Sun, 2009-10-11 19:30
suprsidr wrote:
It's referring to imageMagick locally on the client, not the webserver.
The binary on the server has no privileges to work on images locally on your computer.

I have a Windows XP client without ImageMagick.

I want ImageMagick, that is installed on the server, to resize all big photos that are uploaded onto it. It's because I can't force all people to Install ImageMagick on their clients if they want to upload some large pictures.

I am sure that this is supported by G2!

Login or register to post comments
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 3164
Posted: Sun, 2009-10-11 21:59

Gallery2 has that built-in.
Gallery Remote is asking if you want to re-size before upload.... in which case you would need a local copy of IM.

But to have G2 build resizes Edit Album -> Album Tab -> Resized Images and also check/un-check the box "Keep original image?"
This will utilize the server's copy of IM.

If you would like to suppress the IM warning in gallery remote...
Gallery Admin -> Import -> Upload Applet -> Upload Applet Settings -> suppressWarningIM

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

Login or register to post comments
m2

Joined: 2009-02-15
Posts: 14
Posted: Mon, 2009-10-12 18:48
suprsidr wrote:
Gallery2 has that built-in.
But to have G2 build resizes Edit Album -> Album Tab -> Resized Images and also check/un-check the box "Keep original image?"
This will utilize the server's copy of IM.

If I set the last two options and press Save, both boxes are unchecked again when I go back to this site:

Login or register to post comments
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 3164
Posted: Mon, 2009-10-12 21:35

Are you using a stock theme?
try to save those options with matrix.
and do it from the root album.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

Login or register to post comments
m2

Joined: 2009-02-15
Posts: 14
Posted: Tue, 2009-10-13 07:37

This is Carbon. But I also tested it with Matrix.

Login or register to post comments
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 3164
Posted: Tue, 2009-10-13 11:14

Oh, sorry, yes the boxes would be unchecked next time. But the settings should have populated recursively.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

Login or register to post comments
m2

Joined: 2009-02-15
Posts: 14
Posted: Fri, 2009-10-16 07:41

But not permanent. Next upload - same problem!

Login or register to post comments