By default, the main mouse and keyboard controls for the standalone viewer are as follows:

(The default background color can be changed in Preferences, but it can be useful to change it on-the-fly when viewing images which use transparency. Not all plugins support changing the background color in this way.)

There are several other actions and hotkeys which you can find via the menu at the top of the viewer:

Ctrl+Tab can be used to shift the input focus between a field in the metadata editor and the main viewer.

Editing Viewer Toolbar and Keys

The toolbar and context menu in the standalone image viewer are fully configurable, just like all the toolbars and menus in the Lister. Additionally, you can create hotkeys that are only active in the viewer.

To edit the toolbar in the viewer, simply select the Customize Toolbars command from the Edit menu, just like in a Lister. The viewer context menu can be edited from the Context Menus tab in the Customize dialog, and you can also create viewer-specific hotkeys on the Keys tab.

The default viewer toolbar is called Image Viewer, but you can select another toolbar to use from the Viewer / Appearance page in Preferences. You might want to do this if, for example, you want to create your own toolbar but leave the default toolbar unchanged.

All the internal functionality of the standalone viewer is accessed using the Show VIEWERCMD command. This commands only work from a viewer toolbar, menu or hotkey – they will have no effect if you try to run them in a Lister. You can see from the above screenshot that the command corresponding to the Zoom In function is Show VIEWERCMD=zoom,+. A full list of VIEWERCMD commands is shown in the Show command reference section.

Although the Show VIEWERCMD command only works inside the viewer, this doesn’t mean it’s the only command that does – all other Opus commands and external functions also work inside the viewer. Of course, some commands (for example, Select) are not applicable to the viewer, but it’s certainly possible to use commands like Copy or Rename, or have buttons that open the current picture in, say, Photoshop.

The @if directive can be test the state of various Show VIEWERCMD options when used within the viewer. For example, the following function would toggle between 100% zoom and Grow To Window modes:

@if:Show VIEWERCMD=zoom,reset
Show VIEWERCMD=zoom,grow
@if:else
Show VIEWERCMD=zoom,reset 

See the Command modifier reference section for more information about @if command testing.

The behaviour of the mouse wheel and mouse buttons can be changed via Preferences. For example, you can make the left mouse button advance to the next image or close the viewer if you prefer.

Bottom control bar

The optional control bar at the bottom of the viewer is the same as the one in the Viewer Pane - it contains buttons for commonly used functions. You can enable or disable it using the View / Control Bar command. Unlike the main toolbar at the top of the viewer, this one can't be edited.

From left to right, the buttons are Previous File (), Next File (), Rotate Left (), Rotate Right (), Zoom In (), Zoom Out (), Original Size (), Fit To Window (), Grow To Window (), Hex View (), Slideshow (), Full Screen (), Print () and Settings ().

Window Menu

The standalone viewer's Window Menu has a few extra options in addition to the standard ones Windows includes: