Simple image gallery with imagefield

This document provides a guide to set up a very simple image gallery using core modules and some very useful community modules. The goal is to get multilingual images and image galleries. As the image module itself does not support the multilingual module (i18n), I don't want to use it. Another goal is to use system provided functions to sort the images in the gallery and not to rely on either creation date or file name of the images.

Adding the view to the gallery

Now we want to add a viewfield to our image gallery node type to display the thumbnails of the images in this gallery. Go to admin/content

Create content

Now we can create content: Create new content of type “image_gallery”. Don't touch the section “Book outline”! Remember the node id, we us

Define new content types

First, go to admin/content/types/add and create a node type for the image gallery with type “image_gallery” (or any other system name, as

Enhancements

I must admit, it does not look like a nice image gallery. But now, we want to add a view that collects all images in this image gallery and

Here we go!

Download all modules in the current official released version. If there is only a dev-release, use this.

Module configuration

Go to admin/build/imagecache and define the following presets:

More Enhancements

Wouldn't it be nice, if the thumbnail list was displayed at the bottom of each image again, with the thumbnail of the current image

Styling the HTML-List

We want to format the list of thumbnails to float horizontally and not vertically, no leading discs and more. With css we can achieve this:

What do we need?

We will begin with a fresh Drupal 6 installation, to avoid side effects with already installed modules (e.g. image module).

Guide maintainers

pepe roni's picture