You are here

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.

File

modules/imagezoom_gallery/theme/imagezoom_thumb.tpl.php
View 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>