1
0
Fork 0

Link gallery image to specific view page.

This commit is contained in:
Andrew Tomaka 2011-11-06 02:45:39 -05:00
parent 58761af95f
commit db7f092f1d

View file

@ -5,7 +5,7 @@
<div id="imageContainer" style="width: 960px;margin: auto;"> <div id="imageContainer" style="width: 960px;margin: auto;">
<?php foreach($uploads as $upload) { ?> <?php foreach($uploads as $upload) { ?>
<div id="galleryContainer"> <div id="galleryContainer">
<img src="<?php echo base_url('/thumbs/' . $upload->id . $upload->extension); ?>" /> <a href="<?php echo base_url('/view/specific/' . $upload->id); ?>"><img src="<?php echo base_url('/thumbs/' . $upload->id . $upload->extension); ?>" /></a>
</div> </div>
<?php } ?> <?php } ?>
</div> </div>