imagezoom-image.html.twig in Image Zoom 8.2
Same filename and directory in other branches
Template for an Image Zoom image.
Available variables:
- image: The path to the display image.
- zoom: The path to the zoom image.
- width: The width of the thumbnail.
- height: The height of the thumbnail.
- alt: The alt text of the thumbnail.
- title: The title of the thumbnail.
2 theme calls to imagezoom-image.html.twig
- ImageZoomFormatter::viewElements in src/Plugin/ Field/ FieldFormatter/ ImageZoomFormatter.php 
- Builds a renderable array for a field value.
- template_preprocess_imagezoom_gallery in modules/imagezoom_gallery/ imagezoom_gallery.module 
- Preprocess function for imagezoom_gallery.
File
templates/imagezoom-image.html.twigView source
- {#
- /**
-  * @file
-  * Template for an Image Zoom image.
-  *
-  * Available variables:
-  * - image: The path to the display image.
-  * - zoom: The path to the zoom image.
-  * - width: The width of the thumbnail.
-  * - height: The height of the thumbnail.
-  * - alt: The alt text of the thumbnail.
-  * - title: The title of the thumbnail.
-  */
- #}
- 
- <img src="{{ image }}" data-zoom-image="{{ zoom }}" class="imagezoom-image" {% if width %} width="{{ width }}" {% endif %} {% if height %} height="{{ height }}" {% endif %} {% if alt %} alt="{{ alt }}" {% endif %} {% if title %} title="{{ title }}" {% endif %} />
