diff options
| author | Ada Isopods <me@bathynomus.xyz> | 2024-08-08 01:13:36 -0600 |
|---|---|---|
| committer | Ada Isopods <me@bathynomus.xyz> | 2026-10-21 23:30:20 -0600 |
| commit | b58b9832183c5dec8af2dfd580abf3d5d9bdc086 (patch) | |
| tree | 233b86f73b6cccd20d4b808812d8381335e4a3ec /art/index.php | |
| parent | 683dfaab7247bfe6fdd989de203f91e68b509a22 (diff) | |
Created v3 of the site in a subdir, bouta migrate
I guess I also haven't made a commit since doing a
couple normal changes. huh
Diffstat (limited to 'art/index.php')
| -rw-r--r-- | art/index.php | 6 |
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> |
