Add a configuration switch for enabled preview mimetypes