I was having the same problem I've seen reposted multiple times here in using ImageMagick and Omeka of "ImageMagick is not properly configured. Please check your settings and then try again."
After trying most everything I could find, I finally came across the checkForImageMagick
function in File.php (application/models/File.php). I added the following lines *after* the exec function call but before the return (note that I would have just used the logging or debugging options in config.ini...except I couldn't seem to get them to display anything useful!):
print( "\n" );
print( "path: $path\n" );
print( "convert_return: $convert_return\n" );
print( "convert_version:\n" );
foreach( $convert_version as $key ) {
print( " $key: $convert_version[$key]\n" );
}
Then, after uploading an image file (site/omeka/admin->Items->Add an Item->Files->Browse->Add Item), I can view the source (Firefox: Ctrl+U, or View->Page Source), scroll to the end and see the print out of my little addition. Most of the information in the convert_version array is just IM usage, but I get:
path: /usr/bin/convert
convert_return: 1
convert_version:
Version: ImageMagick 6.4.9-2 2009-03-03 Q16 OpenMP http://www.imagemagick.org:
Copyright: Copyright (C) 1999-2009 ImageMagick Studio LLC:
It's easy enough for me to toss in a return True
and get Omeka working for now, but can anyone tell me what's going on and a better way to fix this? Does Omeka not support the latest version(s) of ImageMagick?
We're using Gentoo Linux and ImageMagick was specifically emerge
d for Omeka (somewhat recently, you might notice...). Omeka is also the latest version 0.10.
Edit:
Ehh, re-reading the post, I forgot to note that /usr/bin/convert is the correct path for my system, and the command line convert works like a charm.