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 ...