- Issue created by @w01f
- π·πΈSerbia levmyshkin Novi Sad, Serbia
Hi W01F, I tried to use PhotoSwipe for EBT Image Gallery:
https://www.drupal.org/project/ebt_image_gallery βBut PhotoSwipe requires so much additional sctructured HTML and separate HTML for lightbox. Also it requires additional javascript to use options like title and description. I like PhotoSwipe animation effects, but I gave up to use it cause of complexity. So I used GLightbox instead:
https://biati-digital.github.io/glightbox/
It's pure javascript clone of Colorbox, it's easy to use and customize.I could use existing PhotoSwipe module to integrate EBT modules with PhotoSwipe, but I like idea to fork javascript libraries on github and create drupal-library for them on packagist. It allows to install javascript libraries with composer automatically for another developers and site builders:
https://packagist.org/packages/levmyshkin/glightboxAccording to a lightbox functionality for single image. Before I thought to use view modes and different templates for it. Then it could be possible to use different lightbox libraries. But now it's possible to use EBT settings for Lightbox and if you want another lightbox library, just don't use it from EBT settings and use View Mode instead:
https://www.drupal.org/project/ebt_image βI added new release for EBT Image with GLightbox and also I added Image Caption field:
It will be easier to uninstall EBT Image for you now, remove EBT Image block type and install EBT Image module again. I'm still think about better process for uninstalling EBT modules.
- Status changed to Fixed
over 1 year ago 10:48am 9 March 2023 - πΊπΈUnited States w01f
Got it, and wonderful explanation - I'll be looking into GLightbox, thank you!