Use Apache Tika to detect MIME type of digital assets detecting-mime-type-of-assets-using-apache-tika
Typically, Adobe Experience Manager Assets detects the MIME type of assets that you upload from their file extension. If you use Apache Tika to upload assets, Experience Manager Assets detects their MIME type from the content stream during the upload operation instead of the file extension.
This feature is disabled by default. To enable the feature, configure the Day CQ DAM Mime Type service from Configuration Manager.
-
Go to
https://[AEM_server]:[port]/system/console/configMgr
to open the Configuration Manager web console. -
From the list of services, locate Day CQ DAM Mime Type Service and tap/click the Edit icon beside it to open it in Edit mode.
-
Select the Detect MIME from content option to enable the parsing of uploaded assets to determine their MIME type while ignoring file extensions. By default, this option is unselected.
-
Click/tap Save to save the changes.