1
0
Fork 0

Corrected the count for pre-existing screens so image 927 displayed the correct thumbnail.

This commit is contained in:
Andrew Tomaka 2011-11-12 19:36:46 -05:00
parent 7fcfefee12
commit 1f8203facb

View file

@ -5,7 +5,7 @@
<div id="imageContainer" style="width: 960px;margin: auto;"> <div id="imageContainer" style="width: 960px;margin: auto;">
<?php <?php
foreach($uploads as $upload) { foreach($uploads as $upload) {
$extension = (preg_match('/guild/',$_SERVER['HTTP_HOST']) != 0 && $upload->id <= 927) $extension = (preg_match('/guild/',$_SERVER['HTTP_HOST']) != 0 && $upload->id <= 926)
? '.jpg' : $upload->extension; ? '.jpg' : $upload->extension;
?> ?>
<div id="galleryContainer"> <div id="galleryContainer">