Skip to content

Commit

Permalink
Update upload.php
Browse files Browse the repository at this point in the history
  • Loading branch information
danpros committed Jun 28, 2024
1 parent 5188124 commit 308a078
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion upload.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 308a078

Please sign in to comment.