Cannot upload image to item


Hi New to this software for website. This was installed by my predecessor.

We cannot upload image, it produces generic error. I followed the advice given to similar issue and have started log file.

It seems to be an issue with ImageMagick?? Can anyone advise on what to do to allow image uploads?


Here is log file:

2018-11-15T12:00:08+00:00 WARN (4): Omeka_Storage_Adapter_Filesystem: Tried to delete missing file ‘original/4203daeb8c820209cb1e731afcb60a52.jpg’.

2018-11-15T12:00:08+00:00 ERR (3): Omeka_File_Derivative_Exception: ImageMagick is not properly configured: invalid directory given for the ImageMagick command! in /var/www/vhosts/

Stack trace:

#0 /var/www/vhosts/ Omeka_File_Derivative_Strategy_ExternalImageMagick->_getConvertPath()

#1 /var/www/vhosts/ Omeka_File_Derivative_Strategy_ExternalImageMagick->createImage(’/tmp/4203daeb8c…’, ‘/tmp/fullsize_4…’, ‘fullsize’, 800, ‘image/jpeg’)

#2 /var/www/vhosts/ Omeka_File_Derivative_Creator->create(’/tmp/4203daeb8c…’, ‘4203daeb8c82020…’, ‘image/jpeg’)

#3 /var/www/vhosts/ File->createDerivatives()

#4 /var/www/vhosts/ Job_FileProcessUpload->perform()

#5 /var/www/vhosts/ Omeka_Job_Dispatcher_Adapter_Synchronous->send(’{“className”:"J…’, Array)

#6 /var/www/vhosts/ Omeka_Job_Dispatcher_Default->send(‘Job_FileProcess…’, Array)

#7 /var/www/vhosts/ File->afterSave(Array)

#8 /var/www/vhosts/ Omeka_Record_AbstractRecord->runCallbacks(‘afterSave’, Array)

#9 /var/www/vhosts/ Omeka_Record_AbstractRecord->save()

#10 /var/www/vhosts/ Item->saveFiles()

#11 /var/www/vhosts/ Builder_Item->addFiles(‘Upload’, ‘file’, Array)

#12 /var/www/vhosts/ insert_files_for_item(Object(Item), ‘Upload’, ‘file’, Array)

#13 /var/www/vhosts/ Item->_uploadFiles()

#14 /var/www/vhosts/ Item->beforeSave(Array)

#15 /var/www/vhosts/ Omeka_Record_AbstractRecord->runCallbacks(‘beforeSave’, Array)

#16 /var/www/vhosts/ Omeka_Record_AbstractRecord->save(false)

#17 /var/www/vhosts/ Omeka_Controller_AbstractActionController->editAction()

#18 /var/www/vhosts/ ItemsController->editAction()

#19 /var/www/vhosts/ Zend_Controller_Action->dispatch(‘editAction’)

#20 /var/www/vhosts/ Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))


Yes, it’s looking for the path where ImageMagick is installed so it can make thumbnails of uploaded images.

If it’s installed you should be able to just put the proper path (i.e., /usr/bin or wherever it’s installed on your server) in the Settings form. There’s also a “Test” button there that should tell you if the path is working.



Our server hosts control this. I have contacted them. They supplied another path to try but that hasn’t worked (test connection doesn’t work). They have now replied

Typically for php stuff you should be using imagick rather than imagemagick

Can you give a try perhaps?

I thought that Imagemagick was ‘built in’ to OMEKA so not sure of this advice or even where to start?


If the server has Imagick support then you can use that instead.

Instructions for configuring Imagick are included in the documentation, basically you just need to add a line to your application/config/config.ini file.