Official ImageMagick logo from Wikmedia Commons (GPL 2).

Official ImageMagick logo from Wikmedia Commons (GPL 2).

If you make websites, you've probably worked with Imagemagick and know it's a pain in the butt to get working (especially for Mac local development)—and if you want to use an awesome CMS like Omeka (super for digital archives, collections, museums) to display still images, you'll need Imagemagick. Used to be you'd need to lose some time finagling (possibly setting up Homebrew) to get ImageMagick to work, but if you're already using MAMP, it might be worth your while to upgrade to MAMP Pro 3 and make things easier on yourself.

Instructions (once you've installed MAMP Pro 3)

These instructions assume knowledge of installing an Omeka site locally using MAMP.

  1. In the MAMP config window, go to the "PHP" tab and note which version of PHP you're using.

    Where to locate the version of PHP MAMP is using

    Look under the PHP tab in the MAMP Pro 3 settings window to locate the version of PHP MAMP is using.

  2. In Finder, go to and open in a text editor this file: /Applications/MAMP/bin/php/php5.5.10/conf/php.ini Note that you're looking in the MAMP (not MAMP Pro) folder, and that you should replace "php5.5.10" in the file path above with the folder that matches whatever version of PHP you identified you're using in Step #1 (i.e. go into whatever folder has the same PHP version you're using—I'm just using PHP 5.5.10 in this example).
  3. Find the line that says ;extension=imagick.so (line 542 in my MAMP Pro 3.0.2) and remove the semi-colon from the front of the line (so the line now just says extension=imagick.so). This uncomments the imagemagick module so that MAMP makes it available.
  4. Save the file and close it. You may need to restart your MAMP servers or just restart MAMP for this change to take effect.
  5. Go to the "settings" tab on the admin dashboard for your local Omeka site (yoursitename/admin/settings/edit-settings), scroll to the bottom, and enter /usr/local/bin in the "ImageMagick Directory Path" field. Click the "Save Changes" button on the upper-right.

    Where to type the ImageMagick path in the Omeka dashboard settings Type the ImageMagick path at the bottom of the page in the Omeka dashboard settings.

  6. Imagemagick should now work—you should be able to add "still image" types of files to your local Omeka site, and Omeka will create thumbnails of the images and display the thumbnails and original size images correctly. If you've got a bunch of images you want to add as separate items, I recommend using the Dropbox plugin (doesn't have anything to do with the Dropbox backup site), which lets you batch upload a folder full of images.

An Alternative: Vagrant

Note that another way to make Imagemagick finagling simpler is to use Vagrant (if you've ever worked with a virtual machine, for example to run Windows on a Mac, it's like developing in a virtual machine and being able to easily boot up a machine with a new copy of the CMS of your choice configured how you want, easily move that dev site to a public site, and not have any of this mess with the settings on your host computer/laptop the way you might need to do when using MAMP).

In particular, the awesome digital humanities devs at Scholars' Lab share Vagrant+Chef code and documentation for Omeka sites at this GitHub repo (haven't actually used it myself yet, but planning to very soon). Working with Vagrant takes some learning, though, so if you don't have the time/desire to add a useful webdev skill to your toolkit just now, the MAMP Pro 3 route might be better for you.

Another option is this Vagrant+Puppet LAMP/Omeka set-up on GitHub by MichaelCK. (HT the Omeka Dev listserv!)

I started using MAMP Pro 3 to make local Omeka dev easier after user niek noted its awesomeness on the Omeka Dev listserv (hat tip!).