Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Slick Lightbox

Security covered Under active development 2,600 sites

Part of the Slick ecosystem · 8 projects

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.

Drupal 9–11

Ask your assistant about Slick Lightbox

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

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
4 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP 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 8–10 Jul 29, 2023
8.x-1.7-beta1 Pre-release 8–10 Jul 23, 2023
8.x-1.6 Stable 8–10 Jun 3, 2023