Update upload.php

This commit is contained in:
danpros 2024-06-28 17:17:14 +07:00
commit 308a078ef8

View file

@ -47,7 +47,7 @@ if (login()) {
}
$imageFile = pathinfo($path, PATHINFO_FILENAME);
$thumbFile = $dirThumb . $imageFile. '-' . $width . '.jpg';
$thumbFile = $dirThumb . $imageFile. '-' . $width . '.webp';
if (!file_exists($thumbFile)) {
create_thumb($path, $width);
}