Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This issue centralizes steps, replacement, similar modules for Colorbox-like functionality (Drupal 9 compatible).
Documentation page "Comparison of lightbox-type modules" (NEW)
Feel free to add Lightbox modules you think should be included on the documentation page:
https://www.drupal.org/docs/comparison-of-contributed-modules/comparison...
Accidentally it was added in an extra group, but hopefully it can be moved to the correct position by the admin's at some point.
Baguette
#3244987-55: Plan for Colorbox 8.x-1.8
So I replaced colorbox with baguette as follows:
composer require 'drupal/baguettebox:^1.x-dev' # Upload the https://github.com/feimosi/baguetteBox.js "dist" folder into "/libraries/baguettebox.js/dist" # In a view, add the "field html" css class "baguettebox" # In a view, be sure to enable "add buttons" in the baguettebox options in the field to get a gallery to work
Comments
Comment #2
ThirstySix CreditAttribution: ThirstySix as a volunteer and at GTECH commentedI think the BaguetteBox.js doesn't have the Video support.
https://www.drupal.org/project/baguettebox/issues/3261916
Comparison of lightbox-type modules
https://www.drupal.org/node/266126
Comment #3
ThirstySix CreditAttribution: ThirstySix as a volunteer and at GTECH commentedI am checking with "Magnific Popup". I think it supports the video. Let's see.
"Magnific Popup" field formatter for File Entity and Image fields. Fields with multiple items (cardinality > 1) can be grouped into a Magnific Popup gallery, or shown individually as a stand-alone popup (no "previous"/"next" navigation options).
Comment #4
ressa CreditAttribution: ressa at Ardea commentedThe old Lightbox documentation page Comparison of lightbox-type modules is quite dated, so I have started a fresh page in the new documentation system:
https://www.drupal.org/docs/comparison-of-contributed-modules/comparison...
I accidentally added it in an extra group, but hopefully it can be moved to the correct position by the admin's at some point. Feel free to add any Lightbox modules you think should be on the list :)
Comment #5
ThirstySix CreditAttribution: ThirstySix as a volunteer and at GTECH commentedColorBox is Back :)
Comment #6
WebbehI'd like to get credit to the folks on this issue for their documentation efforts. Otherwise, this is ready to be closed.
Comment #7
rembrandx CreditAttribution: rembrandx at Dropsolid commentedI disagree with closing this issue, we need to keep looking and listing valid alternatives.
The colorbox library that is at the base of the colorbox module, looks pretty stable at them moment, but it doesn't look like JS issues are actively followed-up on in the Github repo:
- last changelog update 2016/05/10,
- last github commit was a merge 8 months ago, but no release produced
- 214 issues open
It could break on a new release of jQuery associated with a new release of Drupal. So having usable alternatives listed somewhere would be handy.
Comment #8
rembrandx CreditAttribution: rembrandx at Dropsolid commentedNever mind, moving that type of discussion to the 'comparison' thread instead.
Comment #9
paulmckibbenThanks, I agree the discussion is better suited for the comparison page.