I don't know if this is bad form, but I haven't heard from anyone in 2 weeks and I still need help with my situation. So my apologies if it's inappropriate to re-post, I just don't know the etiquette (please tell me if I'm not supposed to do this!).
Here is a summary of my situation: I am not able to upload images to associate with my items (as files); I get an error (Omeka_File_Derivative_Exception
Something went wrong with image creation. Please notify an administrator.). I have ticked “Disable File Upload Validation” in the settings. John Flatness suggested I get my IT counterpart to test ImageMagick and make sure everything is running properly...here is what my IT buddy said:
Imagemagick is definitely installed, and using the "Test" button the general settings screen in Omeka shows it seems to be able to access it, so I don't know if that's the problem they're suspecting. Check in with them again.
Is there anything more specific that we should be checking?
The previous thread with all the details is here:
I am reluctant to post the (very long) error message again, as it caused my thred to be viewed as spam last time :)
Any help would be greatly appreciated!!
Val (a new Omeka user)
Normally I wouldn't encourage splitting a thread up like this, but your last thread already dealt with some different issues, so there's no problem separating things.
The thing is, the "something went wrong with image creation" error just means, while we were able to find the ImageMagick "convert" command, when we went to use it, ImageMagick reported that there was some kind of error.
This could be for all sorts of reasons, but most of them are related to ImageMagick and not Omeka, but it can be hard to tell.
Here's a command you can run to see if your server's ImageMagick install has the right support for JPEG files to work with Omeka:
convert -list format | grep -i "jfif"
This should output a few lines. The third column of these lines should look like
rw-, indicating that ImageMagick can read and write JPEG files.
Thanks John, I'll send this on to my IT buddy.
As an update, I was able to upload images for both my header background and the "logo file" with absolutely no problem (we're using the "Thanks Roy" theme). Does this mean anything in terms of exactly what kind of problem we're having?
Header background and logo images don't go through the ImageMagick process, Omeka just uses them as-is.
good to know.
Here's the result from running the command you suggested:
$ convert -list format | grep -i "jfif"
JPEG P rw- Joint Photographic Experts Group JFIF format (IJG JPEG 62)
JPG P rw- Joint Photographic Experts Group JFIF format (IJG JPEG 62)
That output looks fine... but that's unhelpful for figuring out the actual problem.
Have your IT people checked the PHP logs for errors? PHP's having some problem running ImageMagick, that's for sure.
The other thing to check might be the version of ImageMagick you have installed. You can get this by running
convert --version. The current version is 6.7.3-6, but Omeka should work just fine with ImageMagick versions that are quite a bit older than that.
I'm not sure we've had any reports of people having a version of ImageMagick that's just too old for Omeka to work with, but it's possible.
Problem solved! I'll record what we found in case other people have the same issue.
We apparently had a package called "graphicsmagick" installed, thinking it was a compatible replacement, but my IT friend said:
"the graphicsmagick package isn't as compatible as I'd thought. I installed the imagemagick package directly instead and replaced the compatibility mode for graphicsmagick with imagemagick natively and it works"
I've tested it as well, and everything is working beautifully.
Thanks for your help, and on to the next thing!