Detect MIME type of assets using Apache Tika detecting-mime-type-of-assets-using-apache-tika

Normally, 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, 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.

MIME type detection using the Apache Tika library is a resource-intensive operation.
  1. To open the Configuration Manager web console, access https://[aem_server]:[port]/system/console/configMgr.

  2. From the list of services, locate Day CQ DAM Mime Type Service and click Edit.

  3. 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.


  4. Click Save to save the changes.