Help - Icons by File Type | ||
---|---|---|
Each entry in this directory associates a given set of files according to their filename extension with an icon to display within the server-generated file directory listing.
Wildcards are not allowed and leading dots are not used.
Two special patterns against which to match are: "^^DIRECTORY^^" and "^^BLANKICON^^".
Processing of matching filename patterns to resource names stops after the first match.
Example
The following is an abbreviated list of the standard contents of the "IconByName" directory variables for the global default resource template:
html /icons/text.gif htm /icons/text.gif txt /icons/text.gif gif /icons/image.gif jpg /icons/image.gif jpeg /icons/image.gif jpe /icons/image.gif xbm /icons/image.gif mpg /icons/movie.gif mpeg /icons/movie.gif mpe /icons/movie.gif ^^DIRECTORY^^ /icons/menu.gif ^^BLANKICON^^ /icons/dblank.gif
In this example, all resources with names ending in ".mpg", ".mpeg" or ".mpe" will be shown with an icon named "/icons/movie.gif" indicating they are video files.
Config:/Security/Resource/*/Index/IconByName/*/ Config:/Security/Template/*/Index/IconByName/*/ | ||||
---|---|---|---|---|
Setting | Explanation | Default / Example | Data Type | Access R,W,A,D |
Name | The filename extension. | html | Text | R,W |
Icon | The virtual URL path to the icon to display. | /icons/text.gif | Text | R,W |