Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

AddIcon (Internet Toolkit)

LabVIEW Internet Toolkit 6.0.2 Help
June 2008

NI Part Number:
370014C-01

»View Product Info

The AddIcon directive determines the kind of icon the server uses to represent a given file type in a directory index.

Syntax

AddIcon icon name1 name2 ... namen

icon is a virtual path to an image file that is shown for files that match the pattern of names. Alternatively, this can be a group of the format alt,icon, where alt is the three-letter text tag given for an icon for non-graphical browsers, and icon is a virtual path.

name is ^^DIRECTORY^^ for directories, ^^BLANKICON^^ to specify the blank icon used to format the list properly, a file extension (.html), or a wildcard expression.

You can use several AddIcon directives in the configuration file.

Filename

srm.cfg

Default

There are no default icons.

Examples

  • The following directive references the image /icons/image.gif for display next to the filename when indexing a file with the extensions .gif, .jpg, or .xbm:

AddIcon /icons/image.gif .gif .jpg .xbm

  • The following directive references /icons/dir.gif as the image for a subdirectory:

AddIcon /icons/dir.gif ^^DIRECTORY^^

  • The following directive references /icons/sound.gif as the image to show next to any .au sound file, with the textual ALT tag of SND for non-image clients:

AddIcon (SND,/icons/sound.gif) *.au


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit