#46777Improve behaviour when mime type detection is missing
Description
When no library is available for doing mime type detection, information like the dimensions of images is not indexed. This leads to several problems e.g. in the frontend output.
To better cope with such a situation, we should have
- a reports module that tests if mime type detection works
- a heuristic that tries to guess the file type if no mime type can be extracted (we might as well have a fixed list of file extensions as was suggested in the comments for #46020)