> Image object

The following objects are directly related to the image API.

Image

The image object has the following properties.

PropertyTypeDescription
imageidstringID of the image.

Property behavior:
- read-only
- required for update operations
namestringName of the image.

Property behavior:
- required for create operations
imagetypeintegerType of image.

Possible values:
1 - (default) icon;
2 - background image.

Property behavior:
- constant
- required for create operations
imagestringBase64 encoded image.
The maximum size of the encoded image is 1 MB. Maximum size can be adjusted by changing ZBX_MAX_IMAGE_SIZE constant value.
Supported image formats: PNG, JPEG, GIF.

Property behavior:
- required for create operations