Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Usage Milestone: Google Analytics Module google_analytics crossed 1,000 active installs. Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: GraphQL Compose Codegen 1.1.2 Minor update available for module graphql_compose_codegen (1.1.2). Release: Mapy.com 1.1.3 Minor update available for module mapycom (1.1.3). Release: Ckeditor5 entity browser 3.0.3 Minor update available for module ckeditor5_entity_browser (3.0.3). Release: Ckeditor5 entity browser 3.0.1 Minor update available for module ckeditor5_entity_browser (3.0.1). Release: Ckeditor5 entity browser 3.0.2 Minor update available for module ckeditor5_entity_browser (3.0.2). Release: Teamleader Integration 4.0.2 Minor update available for module teamleader (4.0.2). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

GLightbox

3,822 sites Security covered Drupal 9–11
View on drupal.org

GLightbox provides a modern, jQuery-free lightbox for displaying images, videos, iframes, and inline content. It offers features like gallery support, responsive images, keyboard navigation, and touch gestures.

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="https://www.drupal.org/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

Tracked releases
12
Tracked since
Oct 2024
Latest release
1 month ago
Releases (12 mo)
2 ▼ from 10
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
1.0.20 Stable 9–11 Jul 27, 2026
1.0.19 Stable 9–11 Mar 27, 2026
1.0.18 Stable 9–11 Jul 11, 2025
1.0.17 Stable 9–11 Jun 26, 2025
1.0.16 Stable 9–11 Jun 12, 2025
1.0.15 Stable 9–11 Apr 3, 2025
1.0.14 Stable 9–11 Mar 8, 2025
1.0.13 Stable 9–11 Dec 13, 2024
1.0.12 Stable 9–11 Nov 14, 2024
1.0.11 Stable 9–11 Nov 2, 2024
1.0.10 Stable 9–11 Nov 2, 2024
1.0.9 Stable 9–11 Oct 3, 2024