Info: The described step can only be performed on the on-premise version of Studio Server, not on the cloud version.
Studio Server comes with a long list of supported file types, Files that are in this list can be uploaded by end users.
To add additional file types, follow these steps:
Step 1. Open the configserver.php file (recommended: config_overrule.php file) for the Studio Server on which the change needs to be made.
<Studio Server path>/config
Step 2. Locate the EXTENSIONMAP section.
// EXTENSIONMAP: // Mapping of file types (extensions, for example image.jpg) to their MIME type and // object type as stored in the Studio Server database. // define ('EXTENSIONMAP', serialize( array( '.jpg' => array( 'image/jpeg', 'Image'), '.jpeg' => array( 'image/jpeg', 'Image'), '.gif' => array( 'image/gif', 'Image'), '.tif' => array( 'image/tiff', 'Image'), '.tiff' => array( 'image/tiff', 'Image'), '.png' => array( 'image/png', 'Image'), ...
Step 3. Add the required file type in the same format as the existing ones and make sure that it is added in lower case.
Example: Here, the Nikon RAW image format is added:
Step 4. Save the file.
Step 5. (Optional) Newly added file types will appear with the file icon for files of type 'Other'.