imagezoom_thumb.tpl.php in Image Zoom 7.2
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.tpl.php
- template_preprocess_imagezoom_gallery in modules/
imagezoom_gallery/ imagezoom_gallery.module - Preprocess function for imagezoom_gallery.
File
modules/imagezoom_gallery/theme/imagezoom_thumb.tpl.phpView source
<?php
/**
* @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="<?php
print $image;
?>" data-zoom-image="<?php
print $zoom;
?>">
<img src="<?php
print $thumb;
?>" <?php
if ($width) {
?>width="<?php
print $width;
?>" <?php
}
?> <?php
if ($height) {
?>height="<?php
print $height;
?>" <?php
}
?> />
</a>