AVIF
- Edi
- Site Admin
- Posts: 3121
- Joined: Sun Aug 09, 2015 5:01 pm
- Location: Zurich
- Has thanked: 54 times
- Been thanked: 78 times
- Contact:
I do not understand, what you mean. Can you please explain what you have done?
And: Does your browser support yet AVIF?
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
-
- Master Bludit
- Posts: 152
- Joined: Wed Jan 29, 2020 8:32 pm
- Has thanked: 28 times
- Been thanked: 10 times
Hi!
I wrote the new format in the media.php file:
I wrote the new format in the media.php file:
The new chrome browser now supports this file as well.The mime-type can be added in the file media.php in the directory /bl-kernel/admin/themes/booty/html (lines 181/182):
Code: Select all
// Check file type/extension const validImageTypes = ['image/gif', 'image/jpeg', 'image/png', 'image/svg+xml','image/webp'];
- Edi
- Site Admin
- Posts: 3121
- Joined: Sun Aug 09, 2015 5:01 pm
- Location: Zurich
- Has thanked: 54 times
- Been thanked: 78 times
- Contact:
You are right, the MIME type image/avif does not work.
I opened an issue on GitHub:
https://github.com/bludit/bludit/issues/1264
I opened an issue on GitHub:
https://github.com/bludit/bludit/issues/1264
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets