Open source photo gallery that runs on LAMP, can be integrated to Wordpress or Drupal

How to setup Gallery2 -Photo Gallery

It was easy to integrate this with Wordpress and Drupal.  Drupal integration was more complete.
Here is how I setup Gallery2

  1. For documentation see
  2. sudo yum install freetype freetype-devel libjpeg libjpeg-devel libpng libpng-devel libtiff libtiff-devel ImageMagick ImageMagick-devel ghostscript ghostscript-devel ghostscript-fonts libwmf libexif
  3. Install at least version ImageMagick-6.3.x for example:
    • rpm -Uvh ImageMagick-6.3.7-9.i386.rpm

GD Image Library
yum install php php-devel php-gd php-imap php-ldap php-mysql php-odbc php-pear php-xml php-xmlrpc curl curl-devel perl-libwww-perl ImageMagick libxml2 libxml2-devel