Comparison of Lightbox-type modules

Last updated on
14 February 2025

There are various modules in Drupal which provide Lightbox-type functionality. These modules usually use JavaScript to overlay images on the current page when clicked upon, which has the advantage of being able to show users the large version of a thumbnail image while keeping them on the same page. However, there are a number of these modules available, each quite similar but some have more features, while others are more lightweight or have better browser support.

This list attempts to do a comparison between these modules to allow you to choose which one best suits your needs.

  • Media: Supports Drupal Media Library.
  • Swipe: Supports swiping on tablets and phones.
Module D7 D10 Media Swipe Installs Readme / Demo
PhotoSwipe Yes Yes Yes Yes 11,000 README / Demo
Colorbox Yes Yes Yes Yes 155,000 README / Demo
Magnific Popup Yes No Yes Yes 4,500 README / Demo
GLightbox Yes Yes Yes Yes 1000 README / Demo
UIkit Image Formatter No Yes Yes Yes 150 README / Demo
BaguetteBox.js Yes Yes Yes Yes 300 README / Demo
Imagelightbox No Yes Yes Yes 700 README / Demo

Original documentation page: Comparison of lightbox-type modules.

Github star history

Github star history

Made with https://codetabs.com/github-stars/github-star-history.html

Help improve this page

Page status: No known problems

You can: