The files that are supported by Enterprise Server each appear with their own icon. To replace these icons by a different icon or to add an icon for a file that was added manually, follow these steps:
Step 1. In the configserver.php file for the Enterprise Server installation, locate the EXTENSIONMAP
settings:
<Enterprise Server path>/config
// EXTENSIONMAP:
// Mapping of file types (extensions, for example image.jpg) to their MIME type and object
// type as stored in the Enterprise 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')
...
Step 2. From the list, locate the file to which the file icons need to be defined and note down the image format/format combination.
Example: The settings for the Nikon image raw file format .NEF (a format that can be added as a custom format) would be as follows:
Here, 'image/raw' is the image format/format name combination. |
Note: This image format/format combination is later used as part of the file name for the custom file icons.
Step 3. Create 3 file icons in .png format, one in each of the following pixel sizes:
- 16x16 pixels
- 32x32 pixels
- 48x48 pixels
Step 4. Save the files as follows:
- Use the following naming convention:
[image format]_[format name]_[pixel size].png
Example: For our above example of the Nikon image format, the file names would be as follows:
|
- Save them to the following location:
[Enterprise Server path]/config/images/objecticons/Image
Related Information
File type icons used in Enterprise 9
File formats supported by Enterprise 9
Reference Materials
Comment
Do you have corrections or additional information about this article? Leave a comment! Do you have a question about what is described in this article? Please contact Support.
0 comments
Please sign in to leave a comment.