Recipe 59: Photo Gallery
Note
Ingredients
Content module: http://drupal.org/project/cck
ImageAPI module http://drupal.org/project/imageapi
ImageAPI GD2 module, comes with ImageAPI module
ImageField module: http://drupal.org/project/imagefield
ImageCache module: http://drupal.org/project/imagecache
ImageCache UI module, comes with Imagecache module
Views Bonus Pack module: http://drupal.org/project/views_bonus
Bonus Grid View module, comes with Views Bonus Pack
There are many ways to present images on a website. In this approach we create a gallery using a collection of Views-enabled modules. We will enhance the gallery in Recipe 60 and 83.
Install and enable each of the modules listed in the Ingredients section.
Set up the Photo Content type
Create a new content type named Photo at
admin/content/types/add
.Name
Photo
Type
photo
Title Field Label
Title
Body Field Label
(empty)
Default Options
Published (Uncheck Promoted to front page.)
Default Comment Setting
Disabled
Attachments (Present...