imagezoom-thumb.html.twig in Image Zoom 8.3
Template for an Image Zoom thumbnail image.
Available variables:
- image: The path to the display image.
- zoom: The path to the zoom image.
- thumb: The path to the thumbnail image.
- width: The width of the thumbnail.
- height: The height of the thumbnail.
1 theme call to imagezoom-thumb.html.twig
- template_preprocess_imagezoom_gallery in ./
imagezoom.module - Preprocess function for imagezoom_gallery.
File
templates/imagezoom-thumb.html.twigView source
- {#
- /**
- * @file
- * Template for an Image Zoom thumbnail image.
- *
- * Available variables:
- * - image: The path to the display image.
- * - zoom: The path to the zoom image.
- * - thumb: The path to the thumbnail image.
- * - width: The width of the thumbnail.
- * - height: The height of the thumbnail.
- */
- #}
-
- <a href="#" data-image="{{ image }}" data-zoom-image="{{ zoom }}">
- <img src="{{ thumb }}" {% if width %} width="{{ width }}" {% endif %} {% if height %} height="{{ height }}" {% endif %} />
- </a>