diff options
| author | ilotterytea <iltsu@alright.party> | 2025-05-03 16:50:50 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2025-05-03 16:50:50 +0500 |
| commit | 2c51a000a9f2f51f54b761e4975086f9db3780a4 (patch) | |
| tree | 6fbe2871a652cf3264cfd42fede1d6369cefca84 /public/system | |
| parent | a196b0bdf3d7dd4a86c4bf0bc5d5065ac03cd268 (diff) | |
upd: big changes in database.sql + .webp is now default image format
Diffstat (limited to 'public/system')
| -rw-r--r-- | public/system/emotes/index.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/public/system/emotes/index.php b/public/system/emotes/index.php index 713957e..98d56b8 100644 --- a/public/system/emotes/index.php +++ b/public/system/emotes/index.php @@ -60,7 +60,7 @@ if ($emote_id > 0) { <?php foreach ($emote_results as $row) { echo '<a href="/system/emotes?id=' . $row["id"] . '">'; - echo '<img src="/static/userdata/emotes/' . $row["id"] . '/1x.' . $row["ext"] . '">'; + echo '<img src="/static/userdata/emotes/' . $row["id"] . '/1x.webp">'; echo '<b>' . $row["code"] . '</b>'; echo '<span style="font-size:10px;"> by '; @@ -86,11 +86,11 @@ if ($emote_id > 0) { <div class="box navtab">Emote - <?php echo $emote["code"] ?></div> <div class="box content"> <div class="emote-showcase"> - <img src="/static/userdata/emotes/<?php echo $emote["id"] . '/' . '1x.' . $emote["ext"] ?>" + <img src="/static/userdata/emotes/<?php echo $emote["id"] ?>/1x.webp" alt="<?php echo $emote["id"] ?>"> - <img src="/static/userdata/emotes/<?php echo $emote["id"] . '/' . '2x.' . $emote["ext"] ?>" + <img src="/static/userdata/emotes/<?php echo $emote["id"] ?>/2x.webp" alt="<?php echo $emote["id"] ?>"> - <img src="/static/userdata/emotes/<?php echo $emote["id"] . '/' . '3x.' . $emote["ext"] ?>" + <img src="/static/userdata/emotes/<?php echo $emote["id"] ?>/3x.webp" alt="<?php echo $emote["id"] ?>"> </div> </div> |
