Site Building

Use Colorbox and Gallery Formatter for Drupal 7

This page is archived

We're keeping this page up as a courtesy to folks who may need to refer to old instructions. We don't plan to update this page.

Sprout Video

With the Gallery content type ready to go, we need work on a better display for the galleries so that they aren't just a big list of images. In this lesson, we're going to polish our galleries by adding several contributed modules that let us manipulate the display of our images in interesting ways. Specifically we will be adding Gallery Formatter and Colorbox modules to give us a nice interface for viewing the gallery images. Colorbox is dependent on the Libraries module, and we'll need to use an external javascript library, called Colorbox, to get the effect we want. We'll explain how to work with external libraries and make things are configured properly on our site.

Note: This series is covering Media Module version 1.x. To learn about Media Module 2.x, check out our Using Drupal Chapter 4: Media Management series.

Additional resources

Gallery Formatter module

Colorbox module

Libraries module

Colorbox javascript library