Corrected the count for pre-existing screens so image 927 displayed the correct thumbnail.
This commit is contained in:
parent
7fcfefee12
commit
1f8203facb
1 changed files with 1 additions and 1 deletions
|
@ -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">
|
||||||
|
|
Loading…
Reference in a new issue