aboutsummaryrefslogtreecommitdiff
path: root/art/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'art/index.php')
-rw-r--r--art/index.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/art/index.php b/art/index.php
index 0a54249..4e5735b 100644
--- a/art/index.php
+++ b/art/index.php
@@ -129,16 +129,16 @@ error_reporting(E_ALL);
if($pmt != $mt) {
echo "<style>.d$mt { display: none; } #show$mt:checked ~ .d$mt { display: flex; } #show$mt + label:hover a { cursor: pointer; }</style><input type='checkbox' style='display: none;' id='show$mt'></input>";
$tn = $no;
- if(file_exists("thumbs/$mt.png")) { // Use the same image for the group thumbnail as the first image in the group. If there's a thumbnail named with the date in question, use that instead.
+ if(file_exists("thumbs/$mt.jpg")) { // Use the same image for the group thumbnail as the first image in the group. If there's a thumbnail named with the date in question, use that instead.
$tn = $mt;
}
- echo "<label for='show$mt'><a style='background-image:url(thumbs/$tn.png);'><span>...</span></a></label>";
+ echo "<label for='show$mt'><a style='background-image:url(thumbs/$tn.jpg);'><span>...</span></a></label>";
$pmt = $mt;
}
$cl = " class='d$mt'";
}
- echo "<a href='$im' style='background-image:url(thumbs/$no.png);'$cl><span>$im<br>$mt • $ist</span></a>";
+ echo "<a href='$im' style='background-image:url(thumbs/$no.jpg);'$cl><span>$im<br>$mt • $ist</span></a>";
}
?>
</div>