You are here

media-gallery-media-item-thumbnail.tpl.php in Media Gallery 7.2

Same filename and directory in other branches
  1. 7 media-gallery-media-item-thumbnail.tpl.php

Template file for displaying a media item (entity) as a thumbnail on the gallery page.

The template-specific available variables are:

  • $media_gallery_item: The rendered media gallery item.
  • $media_gallery_meta: The rendered metadata about the item.

File

media-gallery-media-item-thumbnail.tpl.php
View source
<?php

/**
 * @file
 * Template file for displaying a media item (entity) as a thumbnail on the
 * gallery page.
 *
 * The template-specific available variables are:
 *
 * - $media_gallery_item: The rendered media gallery item.
 * - $media_gallery_meta: The rendered metadata about the item.
 *
 * @see template_preprocess_media_gallery_media_item_thumbnail()
 */
?>
<div class="<?php

print $classes;
?>"<?php

print $attributes;
?>>
  <?php

print render($title_prefix);
?>
  <?php

if (!empty($title)) {
  ?>
    <h3<?php

  print $title_attributes;
  ?>><?php

  print $title;
  ?></h3>
  <?php

}
?>
  <?php

print render($title_suffix);
?>

  <?php

print $media_gallery_item;
?>

  <?php

print $media_gallery_meta;
?>
</div>