Drupal is a registered trademark of Dries Buytaert
drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! bootstrap 8.x-3.40 Minor update available for theme bootstrap (8.x-3.40). menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). eca 3.1.1 Minor update available for module eca (3.1.1). layout_paragraphs 2.1.3 Minor update available for module layout_paragraphs (2.1.3). ai 1.3.3 Minor update available for module ai (1.3.3). ai 1.2.14 Minor update available for module ai (1.2.14). node_revision_delete 2.0.3 Minor update available for module node_revision_delete (2.0.3). moderated_content_bulk_publish 2.0.52 Minor update available for module moderated_content_bulk_publish (2.0.52). klaro 3.0.10 Minor update available for module klaro (3.0.10). klaro 3.0.9 Minor update available for module klaro (3.0.9). layout_paragraphs 2.1.2 Minor update available for module layout_paragraphs (2.1.2). geofield_map 11.1.8 Minor update available for module geofield_map (11.1.8).

glightbox

2,436 sites Security covered
View on drupal.org

GLightbox is a pure javascript lightbox (Colorbox alternative without jQuery). It can display images, iframes, inline content and videos with optional autoplay for YouTube, Vimeo and even self-hosted videos:
https://biati-digital.github.io/glightbox/

GLightbox Drupal module contains only images field formatter. You can install GLightbox Media Video module to support YouTube, Vimeo, self-hosted videos:
GLightbox Media Video

For loading local videos, iframes, inline elements or AJAX content loading, you can use GLightbox Inline module.

Usage GLightbox Inline

  • Enable GLightbox Inline module. No other options or configuration exist.
  • Add the class `glightbox-inline` to an element and make href value a selector for the element you wish to open. Eg,
    <a class="glightbox-inline" href="#user-login">User Login</a> will open a popup with the first element with the id #user-login as the content.
  • Optional add data-glightbox to the link to control the size of the modal window, for example data-glightbox="width: 700; height: auto".
  • If you want to display page in popup, just add path in href attribute: href="/node/42" or href="https://drupalbook.org"
  • - You also can set href attribute with URL to video or image, for example: href="https://drupalbook.org/sites/default/files/video.mp4 or YouTube video href="https://youtu.be/g2coDPosRSs. Video will be playing automatically in popup.
  • - See more examples here: https://biati-digital.github.io/glightbox/

Looking for Image gallery module? You can try these modules with GLightbox integration:

Looking for Video gallery module? You can try these modules with GLightbox integration:

Features

The GLightbox module:

- Works as a Formatter in entities and in views.
- Excellent integration with core image field and image styles and the Insert
module

The GLightbox plugin:

- Small - only 11KB Gzipped
- Fast and Responsive - works with any screen size
- Gallery Support - Create multiple galleries
- Response Images Support - Let the browser use
the optimal image for the current screen resolution
- Video Support - YouTube, Vimeo and self-hosted videos with autoplay
- Inline content support - display any inline content
- Iframe support - need to embed an iframe? no problem
- Keyboard Navigation - esc, arrows keys, tab and enter is all you need
- Touch Navigation - mobile touch events
- Zoomable images - zoom and drag images on mobile and desktop
- API - control the lightbox with the provided methods
- Themeable - create your skin or modify
the animations with some minor css changes

Activity

Total releases
5
First release
Mar 2025
Latest release
3 weeks ago
Release cadence
96 days
Stability
100% stable

Release Timeline

Releases

Version Type Release date
1.0.19 Stable Mar 27, 2026
1.0.18 Stable Jul 11, 2025
1.0.17 Stable Jun 26, 2025
1.0.15 Stable Apr 3, 2025
1.0.14 Stable Mar 8, 2025