Support for AVIF, maybe?

This commit is contained in:
Stian
2026-04-18 08:56:42 +02:00
parent 60f1dacfe3
commit f8a3fbeebe
6 changed files with 10 additions and 0 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

BIN
lib/images/logo.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 18 KiB

3
modules/index.php Executable file
View File

@@ -0,0 +1,3 @@
<?php
// Silence is golden.
?>

View File

@@ -28,6 +28,7 @@ $config = array
'asx' => array('video/x-ms-asf'),
'atom' => array('application/atom+xml'),
'avi' => array('video/avi', 'video/msvideo', 'video/x-msvideo'),
'avif' => array('image/avif'),
'bin' => array('application/octet-stream','application/macbinary'),
'bmp' => array('image/bmp'),
'c' => array('text/x-csrc'),
@@ -196,6 +197,7 @@ $config = array
'wav' => array('audio/x-wav'),
'wax' => array('audio/x-ms-wax'),
'wbxml' => array('application/wbxml'),
'webp' => array('image/webp'),
'wm' => array('video/x-ms-wm'),
'wma' => array('audio/x-ms-wma'),
'wmd' => array('application/x-ms-wmd'),

View File

@@ -18,6 +18,8 @@ $config['allowed_filetypes'] = array
'jpg', 'jpeg',
'png',
'tif', 'tiff',
'webp',
'avif',
'swf',
'htm', 'html',
'css',

3
themes/index.php Executable file
View File

@@ -0,0 +1,3 @@
<?php
// Silence is golden.
?>