summaryrefslogtreecommitdiff
path: root/client/html
diff options
context:
space:
mode:
authorRuin0x11 <ipickering2@gmail.com>2021-05-07 14:36:58 -0700
committerRuin0x11 <ipickering2@gmail.com>2021-05-07 14:36:58 -0700
commit169593ea3689e50388dbda13984cbb9bc3d7ce1c (patch)
tree3f648fb5c002fe2a3002630a4207c4a35e457d20 /client/html
parentca771495979b035ac670b850b10239b6e4f10dcc (diff)
Add AVIF/HEIC detection
ffmpeg doesn't support HEIC decoding yet...
Diffstat (limited to 'client/html')
-rw-r--r--client/html/post_merge_side.tpl2
-rw-r--r--client/html/post_readonly_sidebar.tpl2
2 files changed, 4 insertions, 0 deletions
diff --git a/client/html/post_merge_side.tpl b/client/html/post_merge_side.tpl
index 53dd31f..ad50a2e 100644
--- a/client/html/post_merge_side.tpl
+++ b/client/html/post_merge_side.tpl
@@ -36,6 +36,8 @@
'image/jpeg': 'JPEG',
'image/png': 'PNG',
'image/webp': 'WEBP',
+ 'image/avif': 'AVIF',
+ 'image/heic': 'HEIC',
'video/webm': 'WEBM',
'video/mp4': 'MPEG-4',
'application/x-shockwave-flash': 'SWF',
diff --git a/client/html/post_readonly_sidebar.tpl b/client/html/post_readonly_sidebar.tpl
index cfbfd10..01a086d 100644
--- a/client/html/post_readonly_sidebar.tpl
+++ b/client/html/post_readonly_sidebar.tpl
@@ -9,6 +9,8 @@
'image/jpeg': 'JPEG',
'image/png': 'PNG',
'image/webp': 'WEBP',
+ 'image/avif': 'AVIF',
+ 'image/heic': 'HEIC',
'video/webm': 'WEBM',
'video/mp4': 'MPEG-4',
'application/x-shockwave-flash': 'SWF',