Gallery 2 and ImageMagick 6.0 still Incompatible?

mqlin

Joined: 2005-02-22
Posts: 15
Posted: Wed, 2005-03-16 15:50

My gallery 2 beta 1 installation works great except for one problem: it does not work with ImageMagick 6. As long as I upgrade ImageMagick from 5.5.7 to 6, no thumbnail was generated, but it works great under ImageMagick 5.5.7. Is anybody has the same problem or the problem is in RedHat ImageMagick package?

My system information is below:

Gallery version: 2.0 beta 1
Webserver (with version): apache 2.0.52
Datatabase (with version): mysql 4.1.10a
PHP version (eg 4.2.1): php 4.3.9
Graphics Toolkit(s): ImageMagick & netpbm
Operating system: RedHat Enterprise Linux AS 4
Web browser/version: Firefox 1.0
G1 version (for migration bugs):

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Wed, 2005-03-16 16:03

please use buffered debug output in config.php to find any error messages produced when using imagemagick 6.. as far as we know it should work.

 
mqlin

Joined: 2005-02-22
Posts: 15
Posted: Wed, 2005-03-16 20:29

I turned on the buffered debug output, but did not see error messages generated. Everything looks normal in the debug output. What particular message should I looking for? Thanks.

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Wed, 2005-03-16 20:39

you need to view debug output when an imagemagick operation is being performed. you did not clarify "does not work" so i don't know if the tests pass in Site Admin / Imagemagick.. if not, enable debug output and click "test settings" there. if the tests do pass then you need to see debug output when a derivative (thumbnail/resize) is being built. try doing edit photo / photo and changing the thumbnail size.. click save and look for "Executing" in the debug output in one of the next 2 pages (don't recall if it is before or after the redirect).

 
mqlin

Joined: 2005-02-22
Posts: 15
Posted: Thu, 2005-03-17 14:41

The test in Site Admin / Imagemagick did pass. Actually, the resized images were generated ok (like sizes at 640x480, 800x600, etc), just the small thumbnails were not generated. I've tried to disable the "Square thumbnail" module, and the thumbnail was generated but at a skewed size (the aspect ratio to the original image was not preserved). Again, I still did not find any error messages in the debug output.

To clarify, netpbm is working properly, no matter which version was used. Also, if I use ImageMagick 5.5.7, everything works fine. I prefer to use ImageMagick since its speed is faster than netpbm.

Btw, I start using the Gallery 2 since alpha 4, and all the albums and databases were kept since then. Does this cause a problem? I've used lib/tools/test - Flush Cache to remove all cached entities.

Thanks.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Fri, 2005-03-18 08:04

Hm. Is this a dupe of this problem?

 
mqlin

Joined: 2005-02-22
Posts: 15
Posted: Fri, 2005-03-18 16:55

Yes, it looks very similar. Without square thumbnail module, the resized thumbnails are skewed, but with square thumbnail module, there is no resized thumbnails!