.htmaccess & ImageMagick

After I tried adding a photo as a file on an item, I got an error message which I could not see so I followed the prompts to try to enable error message viewing, but I cannot find the .htaccess file in the root of my Omeka installation. After some reading in the forums, it sounds like I can get the file from your site, but I've no idea how.

I skipped the step above and just changed the config.ini debug.exceptions from false to true and then I got a mess of errors listed and also a reference to the fact that ImageMagick isn't set up correctly. So, I tried to go to settings and set it up but again, have no idea how. I think I have to go download it and upload it to my server, but it didn't work, and I don't know what directory to put it anyway. One of the forum threads said it's not as simple as you think.

Basically, my website is for textual information. I'd just like to add a box with text as a placeholder, really. But all this is slowing it down. I'd eventually like the items to have an actual image associated with it, or better yet, an audio file, but for now, I am trying to upload something generic for all items so there is not a big old X on all the items.


There is a place in Settings to check whether there is a working path to ImageMagick.

If it is not there, the next step is usually to check with your server admin or hosting provider about having ImageMagick installed, and the correct path to it.

Hi patrickmj,

I checked with the hosting provider and they told me that Imagemagick is installed and available at that same path. I checked Omeka settings and see that there is now somethng in the ImageDirectory Path. When I click test it says fail. What am I doing wrong?

Also, when I try to add an image to an item (under files), there is an error message again which says "To learn how to see more detailed information about this error, see the Omeka Codex page on retrieving error messages." As I said above, I can't find the .htaccess file so I can't even follow the directions so tha tI can retrieve the error message. How can I get the .htaccess file? If I skip that step and just change the debug.exceptions value to true, I get a ridiculously long list of error messages. So, I think I really do need to figure out the .htaccess file problem. Sorry, this may be elementary for some folks but I can't find the answer to these questions on the forum.

Often, the interface for browsing around the files on your hosted server hides "hidden" files (ones beginning with a . ) There should be something in the interface to tell it to show hidden files, or show "dot" files, something like that.

I'm perplexed about the provider saying that imagemagick is at the path, but the test is failing. Maybe double-check that the path they told you imagemagick is at and what's in the settings are exact?

The server folks fixed the hidden file issue and also changed the imagemagick path. The error message I'm getting is as follows (and I don't know what it means):

Destination directory is not writable: '/home/daisilla/public_html/omeka/archive/files'.

I think I already said this but my Omeka database does not currently contain audio/visuals, but since I don't want a big X when people browse my items, I'd like to attach a generic image to all items. The same one to every item. That's all I'm trying to do. If there is a way to get rid of the X without adding an image, I'll do that, too. Someday I'd like to use linked data to point to images and audio but for now this database is pretty simple and contains only records with information.

The server folks got back to me and let me know they changed my permissions so I was finally able to upload: http://daisilla.org/omeka/items/show/14 But if you have an answer regarding how to avoid having the X and the need to add an image, please let me know. Thanks for your help!