From 308a078ef8c631af1da76311ae0ceae6cd50a9ce Mon Sep 17 00:00:00 2001 From: danpros Date: Fri, 28 Jun 2024 17:17:14 +0700 Subject: [PATCH] Update upload.php --- upload.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upload.php b/upload.php index 9882d774..7a789dfa 100644 --- a/upload.php +++ b/upload.php @@ -47,7 +47,7 @@ } $imageFile = pathinfo($path, PATHINFO_FILENAME); - $thumbFile = $dirThumb . $imageFile. '-' . $width . '.jpg'; + $thumbFile = $dirThumb . $imageFile. '-' . $width . '.webp'; if (!file_exists($thumbFile)) { create_thumb($path, $width); }