Skip to main content
drupalreleases
Release: Cms 2.2.3 — Update released for Drupal core (2.2.3)! Release: Easy Breadcrumb 2.0.11 — Minor update available for module easy_breadcrumb (2.0.11). Release: Bootstrap 8.x-3.42 — Minor update available for theme bootstrap (8.x-3.42). Release: Editoria11y Accessibility Checker 3.0.10 — Minor update available for module editoria11y (3.0.10). Release: Editoria11y Accessibility Checker 2.2.24 — Minor update available for module editoria11y (2.2.24). Release: Leaflet 10.4.13 — Minor update available for module leaflet (10.4.13). Release: Flag 5.1.1 — Minor update available for module flag (5.1.1). Release: Layout Paragraphs 3.0.0-beta5 — New beta version released for module layout_paragraphs (3.0.0-beta5). Module Revived: Bootstrap 8.x-3.41 — Theme bootstrap updated after 6 months of inactivity (8.x-3.41). Security Coverage: Component Library — Module component_library now has official Drupal security advisory coverage.

Slick Lightbox

2,594 sites Security covered Drupal 9–11

Part of the Slick ecosystem · 8 projects

View on drupal.org

This module integrates Slick Lightbox functionality with Drupal, allowing images to be displayed in a lightbox view when clicked. It provides options for configuring image fields and Blazy filters to enable this feature, and it leverages the Blazy and Slick modules for its core features.

Slick within a lightbox.

Requirements

  • Slick Lightbox library:
    • Download Slick Lightbox archive from Slick lightbox
    • Extract it as is, rename slick-lightbox-master to slick-lightbox, so the asset is available at:
      /sites/../libraries/slick-lightbox/dist/slick-lightbox.min.js
      /sites/../libraries/slick-lightbox/dist/slick-lightbox.css
      Remove "/sites/.." for D8.
  • D8+:
    Slick >= 2.x with Blazy >= 2.x
    D7:
    Slick 7.x-3.x with Blazy 7.x-1.x

Installation

Install the module as usual, more info can be found on:
Drupal 7
Drupal 8

Usage / Configuration

Enable this module and its dependency, core image, Blazy, and Slick modules.

Field formatters

  • Visit /admin/config/people/accounts/fields, or /admin/structure/types, or any fieldable entity, click Manage display.
  • Under Format, choose blazy-related formatters: Blazy, Slick Carousel for image field.
  • Click the Configure icon.
  • Under Media switcher, choose Image to Slick lightbox. Adjust the rest.

Blazy filter

  • Visit /admin/config/content/formats/full_html, etc.
  • Enable Blazy Filter.
  • Under Media switcher, choose Image to Slick Lightbox.

Features

  • Has no formatter, instead integrated into Media switcher option as seen at Blazy/ Slick formatters, including Blazy Views fields for File Entity and Media, and also Blazy Filter for inline images.

Slick Lightbox optionset

We only have one optionset for the Slick Lightbox globally, override it accordingly:
/admin/config/media/slick/list/slick_lightbox/edit

Limitation

Has no skins, yet. Patches or contributions are very much welcome to improve the first looks like what Colorbox has OOTB.

Good at CSS? We welcome your contributions to make this Slick Lightbox slick, even if you don't patch, contributing just a CSS attachment is very much welcome. We can provide UI options later once we have some skins.

Thanks!

Known Issue

https://git.drupalcode.org/project/slick_lightbox/tree/7.x-3.x#known-issues

There is a weird character at the beginning of slick-lightbox.css file:

.slick-lightbox{....}
Note the "" characters.
This only appears when aggregation is enabled, and causes its styling broken.
Temp solution: delete the dot before slick-lightbox with a backspace. And
put your own dot back there. It is weird as nothing in there, but it solves it.
This only happens at D7 at Linux box, not D8. Assumes NOT the library issue,
but not sure whether it is D7 aggregation issue, either.

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
10
Tracked since
Jun 2023
Latest release
3 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
3.0.x-dev Dev 11 Jul 6, 2026
2.0.1 Stable 9–11 Apr 28, 2024
2.0.0 Stable 9–11 Apr 6, 2024
2.0.x-dev Dev 9–11 Sep 20, 2023
8.x-1.7 Stable 8–10 Sep 18, 2023
8.x-1.7-rc3 Pre-release 8–10 Sep 14, 2023
8.x-1.7-rc2 Pre-release 8–10 Aug 13, 2023
8.x-1.7-rc1 Pre-release Jul 29, 2023
8.x-1.7-beta1 Pre-release Jul 23, 2023
8.x-1.6 Stable Jun 3, 2023