The Light Gallery module integrates the jQuery lightGallery plugin with Drupal.
## Introduction
The [Light Gallery module](https://www.drupal.org/project/lightgallery) integrates the [jQuery lightGallery plugin](https://www.lightgalleryjs.com/) with Drupal.
lightGallery is a customizable, modular, responsive, lightbox gallery plugin for
jQuery. This module integrates with the Views module.
* For a full description of the module, visit the project page:
https://www.drupal.org/project/lightgallery
* To submit bug reports and feature suggestions, or track changes:
You can follow the normal process as described on [installing contributed modules](https://www.drupal.org/docs/8/extending-drupal-8/installing-contributed-modules-find-import-enable-configure-drupal-8) and enable the module at the `admin/modules` page.
Then you need to properly install the lightgallery plugin, since the module depends on the plugin to work.
### Using composer to install the lightgallery plugin
1. Open the `composer.json` file of your site.
2. Add `"sachinchoolur/lightgallery": "1.10.0"` to the `require` section.
```
"require": {
.
.
"sachinchoolur/lightgallery": "1.10.0"
}
```
### Using Composer
3. Add `"libraries/{$name}": ["type:drupal-library"]` to the `"installer-paths"` section of your composer.
```
"installer-paths": {
.
.
"libraries/{$name}": ["type:drupal-library"]
}
```
* Edit your project's `composer.json` file and add to the repositories section:
4. Add `sachinchoolur/lightgallery` as a new `package` to `"repositories"`.
1. When creating a view, select the *LightGallery* format.
2. Click on the *Settings* link, under the **Format** section.
3. Scroll down to the *LightGallery Settings* section.
4. Fill out the settings and apply them to your display.
There's a documentation guide on the drupal site, just check the [Lightgallery documentation](https://www.drupal.org/docs/contributed-modules/lightgallery).
## Ideas for contributions
@@ -46,3 +81,11 @@ Patches are always welcome. Some particular features that will be implemented in
the near future are:
* Support more Slider LightGallery.
## Maintainers
Current maintainers:
* Dietrich Moerman (dietr_ch) - https://www.drupal.org/user/9438
* Robin Ingelbrecht (robin.ingelbrecht) - https://www.drupal.org/user/2339074
* Philippe Joulot (phjou) - https://www.drupal.org/user/3344054