This package provides a node type to easily render image galleries.
The installation is done with composer:
composer require dl/gallery
By default, the galleries CSS and JavaScript files are added to the header and footer includes of your page automatically on pages, where an instance of the gallery plugin is added. If you want to compile the JS / CSS into your pages main files you can deactivate this behavior via settings:
DL:
Gallery:
loadGalleryCSS: false
loadGalleryJS: false
The images to show in a gallery need to be grouped by a tag. To group images, go to the media module and add a new tag. Drag and drop images onto this tag or select the tag in the image detail view.
Add a new gallery plugin to your page. You can now choose a tag as the gallery source in the inspector. The images will then be rendered equally within the gallery.
Currently the thumbnails of the gallery are displayed squared using a bootstrap grid. The lightbox photoswipe is used to open a large representation of the image.