Help - Icons by MIME Type | ||
---|---|---|
Each entry in this directory associates a given set of files according to their MIME content type with an icon to display within the server-generated file directory listing.
Wildcards are allowed, and if no wildcards are present, a trailing wildcard is assumed.
Processing of matching MIME type patterns to the resource MIME type stops after the first match.
Example
The following is a list of what could be stored in the "IconByType" directory variables:
In this example, all resources with a MIME type of "image", regardless of its subtype, will be shown with an icon named "/icons/image.gif" indicating they are image files.
text/plain /icons/text.gif image/* /icons/image.gif
Config:/Security/Resource/*/Index/IconByType/*/ Config:/Security/Template/*/Index/IconByType/*/ | ||||
---|---|---|---|---|
Setting | Explanation | Default / Example | Data Type | Access R,W,A,D |
Name | The MIME content type. | text/html | Text | R,W |
Icon | The virtual URL path to the icon to display. | /icons/text.gif | Text | R,W |