Environment variables are an alternative to defining ImgArchive runtime in the systems configuration file. They can be looked on as system defaults as for example, a variable such as a system path is not found in the configuration file the system will next look for the defined environment variable.

The application rool location

One environment variable can not be defined in the configuration file, that is the application home environment. This is the variable that contains the location of the applications root folder and in turn ultimately contain where the configuration file is located.

The applications root or home location can be defined by a environment variable (IMGARCHIVE_HOME) or a default Windows location.

Default Windows Home location.

This is defined by windows using the windows system environment variable, ProgramData or LOCALAPPDATA. The first is the all users location when the user installing ImgArchive has Admin permissions. The second is used if the user only has local permissions. both will have product identity paths appended to them. In the case of ProgramData, "/IDK-Software/ImgArchive" and LOCALDATA will have "./ImgArchive".

User defined Home location

This user defined home location is set by IMGARCHIVE_HOME environment variable. This enables you to relocated the to a different location to the normal system locations.

These under Windows can be set as System Variables, which will apply to all users or User Variables that will only apply to the logged on user.

ImgArchive environment variable list


This is the list of environment variables supported by ImgArchive along with a brief description of use. The first set will provide the location of the root folder of a system resource such as the location of the Master Archive.

The second set are options to enable or disable resources if it is required. Some resources. For example Backups, backups can take a large amount of system resources such disk space. If they are not needed can be disabled using an environment variable.

Resource Locations


IMGA_MASTER - This will set the location of the Master Archive.
IMGA_MASTER_BACKUP1 - This will set the location of the Master Archives first backup.
IMGA_MASTER_BACKUP2 - This will set the location of the Master Archives second backup.

IMGA_DERIVATIVE - This will set the location of the Derivative Archive.
IMGA_DERIVATIVE_BACKUP1 - This will set the location of the Derivative Archives first backup.
IMGA_DERIVATIVE_BACKUP2 - This will set the location of the Derivative Archives second backup.

IMGA_WORKSPACE - The location of the workspace where images can be edited.

IMGA_PICTURE - The location of the public archive catalog.

IMGA_WWWIMAGE - The location of the web viewable archive catalog.

Resource selection options


IMGA_WORKSPACE_ENABLE - Enable automatic copy to workspace (Note - not checked-out).
IMGA_WORKSPACE_CHKOUT - Enable automatic checked-out to workspace.

IMGA_PICTURE_ENABLE - Enable automatic copy to picture catalog.

IMGA_WWWIMAGE_ENABLE - Enable automatic copy to Web catalog.

IMGA_MASTER_BACKUP1_ENABLE - Enable master backup 1.
IMGA_MASTER_BACKUP2_ENABLE - Enable master backup 2.

IMGA_DERIVATIVE_BACKUP1_ENABLE - Enable derivative backup 1.
IMGA_DERIVATIVE_BACKUP2_ENABLE - Enable derivative backup 2.