Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a new module to integrate Light Gallery #1

Open
cristiroma opened this issue Jun 16, 2023 · 1 comment
Open

Add a new module to integrate Light Gallery #1

cristiroma opened this issue Jun 16, 2023 · 1 comment
Assignees

Comments

@cristiroma
Copy link
Member

https://www.lightgalleryjs.com/

Initial source code done by Daniel here: https://github.com/minamata/website/pull/14. Unfortunately this source code was not grouped under a separate, reusable module, but included in base code, so that code needs to be refactored:

Activities

  1. Investigate, clarify and document here why https://www.drupal.org/project/lightgallery cannot be already used / extended. Otherwise we can contribute there with a submodule?
  2. Create a new module if necessary, here in this repository if existing community module cannot be reused and decide what we can add there, and below are some options:
  • the Drupal library to include the JS plugin
  • a new type of media / reuse existing Image
  • a new type of paragraph "List" with an entity reference to Media images, and setting to define the two view modes
  • Display modes for Media to be included in Gallery
  1. Include this module to recommended-project

Live demo: https://mercuryconvention.org/en/virtual-exhibition-makemercuryhistory-photo-contest-2022

View mode #1

image

View mode #2

image

@stefanbutura
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants