<?php defined('C5_EXECUTE') or die("Access Denied.");
$nh = Loader::helper('navigation');
if (is_array($image)) {
$image = $image[0];
}?>

<div class="ccm-gathering-overlay image-sharing-link" id="image-sharing-link-<?php echo $this->gaiID; ?>">
	<div class="image-sharing-link-controls">
		<img class="overlay-header-image" src="<?php echo $image->getSrc()?>" style="max-width: 600px" />
		<div class="ccm-gathering-overlay-title ccm-gathering-thumbnail-caption">
			<a href="<?php echo $link?>"><?php echo t('Full Article') ?></a>
			<a href="#" class="gathering-full-screen"><i class="icon-fullscreen icon-white"></i></a>
			<a href="#" class="gathering-detail-share"><i class="icon-share-alt icon-white"></i></a>
			<?php if ($description) { ?>
			<div class="description">
				<p><?php echo $description?></p>
			</div>
			<?php } ?>
		</div>
	</div>
</div>
