On this page
Comparison of Lightbox-type modules
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 | ![]() |
![]() |
![]() |
![]() |
11,000 | README / Demo |
| Colorbox | ![]() |
![]() |
![]() |
155,000 | README / Demo | |
| Magnific Popup | ![]() |
![]() |
![]() |
4,500 | README / Demo | |
| GLightbox | ![]() |
![]() |
![]() |
![]() |
1000 | README / Demo |
| UIkit Image Formatter | ![]() |
![]() |
![]() |
![]() |
150 | README / Demo |
| BaguetteBox.js | ![]() |
![]() |
![]() |
![]() |
300 | README / Demo |
| Imagelightbox | ![]() |
![]() |
![]() |
![]() |
700 | README / Demo |
Original documentation page: Comparison of lightbox-type modules.
Github star history

Made with https://codetabs.com/github-stars/github-star-history.html
Help improve this page
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion

