We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 033f402 commit 5c57c6cCopy full SHA for 5c57c6c
config/file-storage.php
@@ -16,6 +16,7 @@
16
'formats' => [
17
'png' => 'jpg',
18
'webp' => 'jpg',
19
+ 'jfif' => 'jpg',
20
'heic' => 'jpg',
21
],
22
src/functions.php
@@ -5,5 +5,5 @@
5
6
function is_image(?string $filename): bool
7
{
8
- return $filename && preg_match('/\.(webp|heic|jpg|jpeg|png)$/i', $filename);
+ return $filename && preg_match('/\.(webp|heic|jfif|jpg|jpeg|png)$/i', $filename);
9
}
0 commit comments