O'Reilly logo

Drupal 7 Media by Liran Tal

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Colorbox

We have made use of the colorbox library earlier to create a pop-up effect for pictures. This was mostly focused on galleries, but we will now learn how to integrate this feature with other parts of a Drupal website.

Colorbox for media images

When we explored the galleries and slideshows functionality before, we made use of Drupal modules which had the sole purpose of meeting that specific requirement. While we were able to meet our functionality of creating galleries, content items that we created did not benefit from the gallery pop-up view, which we later implemented with the help of jQuery's lightbox module.

To remember what this actually means, let's navigate to one of the earlier content types we created, rezepi, and take a look at ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required