Location: PHPKode > projects > Gallery > gallery3/modules/image_block/views/image_block_block.html.php
<?php defined("SYSPATH") or die("No direct script access.") ?>
<? foreach ($items as $item): ?>
<div class="g-image-block">
  <a href="<?= url::site("image_block/random/" . $item->id); ?>">
   <?= $item->thumb_img(array("class" => "g-thumbnail")) ?>
  </a>
</div>
<? endforeach ?>
Return current item: Gallery