Search This Blog

Saturday, April 4, 2009

How to integrate a Picture Gallery in Drupal

Gallery module embeds Gallery2 (http://gallery.menalto.com) inside Drupal installation to support photos, videos and other content. There is support for 2 types of image blocks and a navigation menu, inserting of images into nodes via an input filter, TinyMCE support, syncing of users between the two applications

Requirements

Gallery 2.3
Drupal 6.x

Installation Procedure

Step 1. Install Gallery 2 and Drupal. Gallery2 should be inside your Drupal installation so that it’s accessible by the same website. If you installed Gallery somewhere else, you can create a symlink to it from inside your Drupal site or you can move Gallery2.

Step 2. Make sure that ‘Image Block’ and ‘Image Frame’ plugins are installed and activated in Gallery2. Check them in the non-embedded Gallery.

Step 3. Log out of Gallery 2 (non-embedded) - people have reported errors relating to sessions if this is not done.

Step 4. Copy the gallery.module to your Drupal modules/ directory.

Step 5. Enable the gallery module by going in Administer -> Site building -> Modules in your Drupal installation (admin/build/modules).

Step 6. Then go to Administer -> Site configuration -> Gallery (admin/settings/gallery) and configure the path to your Gallery2 installation using the install wizard provided there.

Step 7. Enable the ‘Gallery Block’ in Administer -> Site building -> Blocks (admin/build/block).

Step 8. The Gallery module user administration is now available in Administer -> User management -> Gallery users (admin/user/gallery). You should at least check the ‘User settings’ (admin/user/gallery/settings).

Step 9. G2Image (Gallery G2Image module): If you install G2Image (http://g2image.steffensenfamily.com) as either a standalone or TinyMCE plugin you will have an excellent image chooser for Drupal/Gallery2.

No comments: