imagezoom-gallery.html.twig in Image Zoom 8.2
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 modules/
imagezoom_gallery/ src/ Plugin/ Field/ FieldFormatter/ ImageZoomGalleryFormatter.php - Builds a renderable array for a field value.
File
modules/imagezoom_gallery/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>