- Issue created by @ressa
- 🇩🇪Germany Anybody Porta Westfalica
I guess simply compare
https://www.jacklmoore.com/colorbox/
to
https://photoswipe.com/Happy to add information to the README or module page, if someone writes it :) This can by done by anyone, I think, by just testing the libraries.
TL;DR:
Photoswipe has no jQuery dependency and is far more modern, I think. We left colorbox years ago for photoswipe! Still Colorbox is very feature-rich in Drupal! - 🇩🇰Denmark ressa Copenhagen
Thanks for clarifying @Anybody! Adding the TL;DR to project page and README would be enough for a start, and help decide.
And yes, judging from Github Stars, it looks like Colorbox has stalled, and PhotoSwipe is growing in popularity.
From https://star-history.com/#jackmoore/colorbox&dimsemenov/photoswipe&Date
- 🇩🇰Denmark ressa Copenhagen
Another difference is that PhotoSwipe supports Drupal's native Media Library: ✨ Allow media entity reference fields to be displayed as a gallery in a colorbox Needs review .
- 🇩🇪Germany Anybody Porta Westfalica
@ressa thank you! Should you find other important points missing in Photoswipe or being solved better in Colorbox, feel free to open feature requests for that :)
Happy to improve. - 🇩🇰Denmark ressa Copenhagen
Great @Anybody! We can add some more items, and roll it out when it's ready.
And sure, I'll add requests for porting of Colorbox features to PhotoSwipe, though so far I don't see the need ... The only feature I have noticed not present in PhotoSwipe is different styles for the display, where in Colorbox you have the "Styles and options" options with "Default", "Plain", "Stockholm Syndrome", etc.
But I think the default style in PhotoSwipe looks great, so I don't think it's needed.