Open holta opened 1 year ago
@deldesir explained:
The ansible role uses a premade database in https://github.com/iiab/iiab/tree/master/roles/calibre-web/files which override constants whitelist.
WebP can be enabled quickly following instructions in https://github.com/janeczku/calibre-web/wiki/Configuration#enable-uploading
I consider this a bug.
Regardless what the best way is to fix it.
WEBP like JPG/JPEG, PNG, GIF (and possibly SVG?) should work out-of-the-box with Zero Bureaucracy(TM).
Regardless how we go about this — e.g. if maintaining 2 parallel app.db files is regrettably the best way forward for now?
Is this a bug or intentionally not yet implemented?
Either way, let's prioritize this for rapid resolution in coming weeks ✅
CONTEXT: Basically all major browsers have supported WEBP images for more than 5 years now. So this definitely needs to be made to work. As soon as is realistic (while removing lesser used file types / file suffixes that we should NOT be supporting!)
https://github.com/deldesir/calibre-web/blob/main/cps/constants.py#L145-L155