Starting with version 1.5.1, administrators can customize the toolbar by deleting or rearranging buttons. This is done by creating a string value in the Windows registry at HKLM\Software\MIE\AlternaTIFF\toolbaritems or HKCU\Software\MIE\AlternaTIFF\toolbaritems. (If both values exist, the one from HKCU (HKEY_CURRENT_USER) will be used.) The registry value can be set manually, or by using a configuration file.
The toolbar can also be defined by the web page, using the toolbaritems parameter (v1.5.2+).
Each available button has a designated two-letter identifier (listed below). To define a toolbar configuration, list the buttons you want to be available, from left to right, separated by commas. Do not use any spaces. To leave a small space between buttons, use an underscore ("_") as the identifier.
The available buttons are listed below. The shaded items do not appear in the default toolbar.
For example, the default toolbar would be defined as follows:
PR,SA,CC,_,ZO,PA,_,BF,FW,FS,SS,_,O4,O1,O2,O3,_,NE,_,PG,PP,NP,_,ME,AB
Here's a definition for a fully-populated toolbar:
PR,QP,OF,SA,CC,SE,_,ZO,PA,_,BF,FW,FH,FS,SS,_,O4,O1,O2,O3,O6,O5,O7,_,SM,NE,_,PG,PP,NP,_,ME,AB
Additionally, version 1.5.2+ supports some special toolbar names, which begin with periods. Note that these special names are not button names, and cannot be combined with other buttons.
Button | Identifier | Description |
---|---|---|
_ | (spacer) | |
PR | ||
QP | "Quick print" to default printer, with no confirmation. (v1.5.2+) | |
OF | Open local file | |
SA | Save to disk | |
CC | Copy to clipboard | |
SE | Send Image (as email attachment). (v1.5.2+) | |
ZO | Zooming mode | |
PA | Panning mode | |
BF | Best fit | |
FW | Fit to window width | |
FH | Fit to window height | |
FS | Fixed size. (Normally used with SS.) | |
SS | Select fixed size. (Normally used with FS.) | |
O4 | Select rotated-left orientation | |
O1 | Select normal orientation | |
O2 | Select rotated-right orientation | |
O3 | Select upside down orientation | |
O6 | Rotate 90 degrees left from current orientation | |
O5 | Rotate 90 degrees right from current orientation | |
O7 | Rotate 180 degrees from current orientation (v1.9.2+) | |
SM | Smooth image | |
NE | Negative image | |
PG | Select page | |
PP | Previous page | |
NP | Next page | |
ME | Menu | |
AB | About |