This module provides a field formatter for image fields that displays images as a gallery. It offers customization options for image styles, controls, and thumbnails.
About Field Gallery
Field Gallery provide a field formatter for image fields to render as an image gallery.
Installation
Download via composer and install via drush (Recommended).
composer require drupal/field_gallery
drush en field_gallery -y
Download by composer and install using drush.
drush en field_gallery -y
Requirements
Basically the module does not require any third party libraries. But for enhanced options such as slider ...
Available options
Image style
Previous/Next controls and texts
Thumbnails and thumbnails style
Number of thumbnails
Features for Developers
The gallery template can be override via TWIG templating system.
- Globally (field-gallery.html.twig)
- For a field (field-gallery--field-image.html.twig)
- For an entity type (field-gallery--node.html.twig)
- For a bundle (field-gallery--article.html.twig)
- Field, entity & bundle (field-gallery--field-image--node--article.html.twig)
Similar modules
Imagefield Slideshow : https://www.drupal.org/project/imagefield_slideshow
Field Pager : Add pagination for any type of content entity, text field etc ...
https://www.drupal.org/project/field_pager
Known Issues
The pager is not working properly.
Road map
1. Create slideshow mode
2. Load image by AJAX
Ask your assistant about Field Gallery
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
- image Drupal core
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.