You are here

amazon-item--large-gallery.tpl.php in Amazon Product Advertisement API 7.2

Theme the 'amazon-item' 'large' image style. Many, many available variables. See template_preprocess_amazon_item(). Everything that gets put into $variables there is available.

File

templates/amazon-item--large-gallery.tpl.php
View source
<?php

/**
 * @file
 * Theme the 'amazon-item' 'large' image style.
 * Many, many available variables. See template_preprocess_amazon_item().
 * Everything that gets put into $variables there is available.
 */
?>
<div class="<?php

print $classes;
?>">
<?php

if (!empty($invalid_asin)) {
  print "<div class='invalid_asin'>This item is no longer valid on Amazon.</div>";
}
if (!empty($largeimage_gallery)) {
  ?>
	<?php

  foreach ($largeimage_gallery as $image) {
    print $image;
  }
}
?>
</div>