I recently setup Omega Classic on my website and the install went seemingly smoothly, however, when I add a new item with an image unfortunately it will not display thumbnails. I do not see a thumbnail preview in the Dashboard or on the live site.
I have checked a few obvious things but am slightly stumped. Path to ImageMagick looks good and the test through the Dashboard UI returns a correct path.
Any help and troubleshooting very greatly appreciated!
Craig
Edit 1: checked hosting provider/server and it is running ImageMagick version 6.3.3.
Edit 2: Trying to run Derivative Images plugin causes a generic error.
Hi mebrett, thank you for your reply! Yes it was a generic error when using the derivative plugin. If I turn the plugin off and simply add an item, which results in no thumbnails, I get the following error in log:
2020-01-29T08:45:07-05:00 WARN (4): Error output from ImageMagick:
That’s the relevant error, there’s some issue with the ImageMagick install on this server, so you probably need to check with your host. This is probably a situation where your host has limited the resources available to your site… ImageMagick might need to be configured to, for example, not try to use multiple threads.
We have ImageMagick binaries, but it is not complied to PHP so IMAGICK will not work. So, you will not be able to use IMAGICK as PHP built-in class. You will have to use the alternative ‘convert’ utility:
I am out of my depth and not sure where I would add this. Am I now out of luck with my current host or is there somewhere to apply the above that will make Omeka work as intended?
I’m pretty sure that response isn’t really relevant… from your description of filling in the path to ImageMagick (/usr/local/bin I assume) and hitting the “Test” button, you’re already using the “convert” utility the host is talking about.
Try this, edit your omeka .htaccess file and add the following line at the very top:
Your problem with the Derivative Images plugin isn’t related. There, the issue is just that you don’t have your site set up to run background jobs.
Anyway, I wouldn’t really worry about that at this point: Derivative Images is for replacing all the thumbnails you have with new ones… if you can’t make thumbnails in the first place, Derivative Images isn’t going to help you at all.
Your options are pretty much to work with your host on working around their restrictions (the “thread limit” I suggested was a response to the error message you posted, which was about an issue with ImageMagick making threads: perhaps they have another option for limiting that, or can lift or ease the restriction), or finding a new host.
Thank you for all the help! I tried updating the config to path directly to PhP but it produced the same error. I’ll look into one of your recommended hosts who offer one-click install, I think!