Book Image

Drupal Multimedia

Book Image

Drupal Multimedia

Overview of this book

Table of Contents (16 chapters)

Views for Galleries and Slideshows


Even with all these features that extend image capability for Drupal, our sites want more. Fortunately, using the tools we have covered in the last two chapters, we now have a powerfully flexible set of options to create custom displays.

The Dead Presidents Glee Society has asked us to create a gallery and slideshow of their favorite US presidents. This job should be a snap now. We'll just create a content type with an image field, two views, and a new ImageCache preset. Rather than using an image field, we could just as easily use Image Attach with Image nodes.

We'll call this content type President, and create an Image field called Image. In many sites, it might be easiest to reuse existing Image fields among content types, saving you some work. In fact, you can even override many of the settings of these fields for specific content types such as the Image path or the Maximum resolution.

Now we'll create our view. Add a new view, and this time we'll set...