imagezoom-gallery.html.twig in Image Zoom 8.3
Template for an Image Zoom gallery.
Available variables:
- image: The display image.
- thumbs: An array of thumbnail images.
1 theme call to imagezoom-gallery.html.twig
- ImageZoomGalleryFormatter::viewElements in src/
Plugin/ Field/ FieldFormatter/ ImageZoomGalleryFormatter.php - Builds a renderable array for a field value.
File
templates/imagezoom-gallery.html.twigView source
- {#
- /**
- * @file
- * Template for an Image Zoom gallery.
- *
- * Available variables:
- * - image: The display image.
- * - thumbs: An array of thumbnail images.
- */
- #}
-
- {{ image }}
-
- <div id="imagezoom-thumb-wrapper">
- {% for thumb in thumbs %}
- {{ thumb }}
- {% endfor %}
- </div>