Customizing the virtual viewer by using HTML parameters

You can use HTML parameters to configure and customize the viewer.

About this task

Use the following format for adding a parameter to the HTML file that loads the viewer:

<param name="name1" value="value1" />

Replace name1 with the parameter name and value1 with the parameter value.

Use the internet URL address format to specify file names and hyperlink addresses, for example http://mysite/myimage.tif. If you provide a relative location, for example, myimage.tif, the viewer assumes a base address that is the same as the viewer location (the codebase).

Except for file names and hyperlink addresses, all parameters are not case-sensitive.

Procedure

  1. Use a text editor to open the HTML file that loads the viewer.
  2. Add the parameters and values.
  3. Save your changes.
  4. Restart the web application server.

What to do next

You can check the parameters that are enabled in the viewer by pressing Shift+T. This command shows a list of the parameters that are processed by the viewer.