views-photo-grid-style.tpl.php in Views Photo Grid 7
Template for the Photo Grid style.
- $items contains an array of images to display.
File
views/views-photo-grid-style.tpl.phpView source
<?php
/**
* @file
* Template for the Photo Grid style.
*
* - $items contains an array of images to display.
*
* @ingroup views_templates
*/
?>
<?php
if (!empty($title)) {
?>
<h3><?php
print $title;
?></h3>
<?php
}
?>
<div class="views-photo-grid-container">
<?php
foreach ($items as $key => $item) {
?>
<div class="views-photo-grid-item"><?php
print $item;
?></div>
<?php
}
?>
</div>