ImageMagick is not properly configured

Please help with this problem ASAP......

Omeka has encountered an error

Omeka_File_Derivative_Exception

ImageMagick is not properly configured: invalid directory given for the ImageMagick command!

exception 'Omeka_File_Derivative_Exception' with message 'ImageMagick is not properly configured: invalid directory given for the ImageMagick command!' in C:\wamp\www\omeka\application\libraries\Omeka\File\Derivative\Strategy\ExternalImageMagick.php:83
Stack trace:
#0 C:\wamp\www\omeka\application\libraries\Omeka\File\Derivative\Strategy\ExternalImageMagick.php(39): Omeka_File_Derivative_Strategy_ExternalImageMagick->_getConvertPath()
#1 C:\wamp\www\omeka\application\libraries\Omeka\File\Derivative\Creator.php(76): Omeka_File_Derivative_Strategy_ExternalImageMagick->createImage('C:\Windows\TEMP...', 'C:\Windows\TEMP...', 'fullsize', 800, 'image/jpeg')
#2 C:\wamp\www\omeka\application\models\File.php(356): Omeka_File_Derivative_Creator->create('C:\Windows\TEMP...', '7776d785d50f826...', 'image/jpeg')
#3 C:\wamp\www\omeka\application\models\Job\FileProcessUpload.php(22): File->createDerivatives()
#4 C:\wamp\www\omeka\application\libraries\Omeka\Job\Dispatcher\Adapter\Synchronous.php(25): Job_FileProcessUpload->perform()
#5 C:\wamp\www\omeka\application\libraries\Omeka\Job\Dispatcher\Default.php(136): Omeka_Job_Dispatcher_Adapter_Synchronous->send('{"className":"J...', Array)
#6 C:\wamp\www\omeka\application\models\File.php(203): Omeka_Job_Dispatcher_Default->send('Job_FileProcess...', Array)
#7 [internal function]: File->afterSave(Array)
#8 C:\wamp\www\omeka\application\libraries\Omeka\Record\AbstractRecord.php(277): call_user_func(Array, Array)
#9 C:\wamp\www\omeka\application\libraries\Omeka\Record\AbstractRecord.php(550): Omeka_Record_AbstractRecord->runCallbacks('afterSave', Array)
#10 C:\wamp\www\omeka\application\models\Item.php(335): Omeka_Record_AbstractRecord->save()
#11 C:\wamp\www\omeka\application\models\Builder\Item.php(204): Item->saveFiles()
#12 C:\wamp\www\omeka\application\libraries\globals.php(567): Builder_Item->addFiles('Upload', 'file', Array)
#13 C:\wamp\www\omeka\application\models\Item.php(320): insert_files_for_item(Object(Item), 'Upload', 'file', Array)
#14 C:\wamp\www\omeka\application\models\Item.php(230): Item->_uploadFiles()
#15 [internal function]: Item->beforeSave(Array)
#16 C:\wamp\www\omeka\application\libraries\Omeka\Record\AbstractRecord.php(277): call_user_func(Array, Array)
#17 C:\wamp\www\omeka\application\libraries\Omeka\Record\AbstractRecord.php(531): Omeka_Record_AbstractRecord->runCallbacks('beforeSave', Array)
#18 C:\wamp\www\omeka\application\libraries\Omeka\Controller\AbstractActionController.php(229): Omeka_Record_AbstractRecord->save(false)
#19 C:\wamp\www\omeka\application\controllers\ItemsController.php(91): Omeka_Controller_AbstractActionController->editAction()
#20 C:\wamp\www\omeka\application\libraries\Zend\Controller\Action.php(516): ItemsController->editAction()
#21 C:\wamp\www\omeka\application\libraries\Zend\Controller\Dispatcher\Standard.php(308): Zend_Controller_Action->dispatch('editAction')
#22 C:\wamp\www\omeka\application\libraries\Zend\Controller\Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#23 C:\wamp\www\omeka\application\libraries\Zend\Application\Bootstrap\Bootstrap.php(105): Zend_Controller_Front->dispatch()
#24 C:\wamp\www\omeka\application\libraries\Zend\Application.php(382): Zend_Application_Bootstrap_Bootstrap->run()
#25 C:\wamp\www\omeka\application\libraries\Omeka\Application.php(79): Zend_Application->run()
#26 C:\wamp\www\omeka\admin\index.php(28): Omeka_Application->run()
#27 {main}

You have a couple options.

1. Make sure that ImageMagick is installed on the server, and find the correct path to it (I'm not sure where wamp usually puts it). When you dig up the path, enter it in the Admin->Settings page at the bottom.

2. If you have IMagick installed as part of your PHP installation, go to application/config/config.ini and uncomment this line be deleting the semicolon

; fileDerivatives.strategy = "Omeka_File_Derivative_Strategy_Imagick"

patrickmj (Omeka Dev Team)

i have done all steps which you have said except i am not able to found ImageMagick path in wamp though i installed ImageMagick on windows7, set environmental path of ImageMagick but still not able solve the problem.

defalut path in

omeka setting ImageMagick Directory Path text box

is:

/cygdrive/c/Windows/system32

That path doesn't look right for WAMP. That path you have there would only work for Cygwin applications, and also looks like it's probably pointing to the wrong directory.

The actual ImageMagick path on Windows, assuming you're not running everything on Cygwin, should start with something like C:\ like normal Windows paths do.