summaryrefslogtreecommitdiff
path: root/public/index.php
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2025-06-23 19:37:26 +0500
committerilotterytea <iltsu@alright.party>2025-06-23 19:37:26 +0500
commit0d9aa950da3201a5fc20c568fb7697a102ec1be4 (patch)
tree85f22d140f5f4975ca1004d2e84f7cbbb7569581 /public/index.php
parenta242b1ac66726e3dc29027ff5db76fc7813bc65f (diff)
feat: color the files and add title to them + lazy loading for files
Diffstat (limited to 'public/index.php')
-rw-r--r--public/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/index.php b/public/index.php
index 544467a..556349f 100644
--- a/public/index.php
+++ b/public/index.php
@@ -661,7 +661,7 @@ $privacy_exists = is_file($_SERVER['DOCUMENT_ROOT'] . '/static/PRIVACY.txt');
<?php if (FILE_THUMBNAILS): ?>
<div class="column align-center justify-center grow">
<div class="column justify-center align-center" style="width: 128px; height:128px;">
- <p><i><img src="${thumbnailPath}" alt="No thumbnail." style="${thumbnailSize}"></i></p>
+ <p><i><img src="${thumbnailPath}" alt="No thumbnail." style="${thumbnailSize}" loading="lazy"></i></p>
</div>
</div>
<?php endif; ?>