summaryrefslogtreecommitdiffstats
path: root/application/views/file/fragments/thumbnail.php
blob: 61d15f325254b8219edaff2e0a4cb64c7ae9341c (plain)
1
2
3
4
5
6
7
8
9
10
<?php register_js_include("/data/js/jquery.colorbox.js"); ?>
<!-- Comment markers background: http://stackoverflow.com/a/14776780/953022 -->
<div class="container container-wide">
<div class="upload_thumbnails"><!--
	<?php foreach($items as $key => $item): ?>
		--><a rel="gallery" class="colorbox" data-orientation="<?php echo $item["orientation"]; ?>" href="<?php echo site_url("/".$item["id"])."/"; ?>" title="<?php echo htmlentities($item["filename"]); ?>" data-content="<?php echo htmlentities($item["tooltip"]); ?>" data-id="<?php echo $item["id"]; ?>"><img class="thumb" src="<?php echo site_url("file/thumbnail/".$item["id"]); ?>"></a><!--
	<?php endforeach; ?>
	-->
</div>
</div>