image

The image property defines the image resource to be displayed in the form item.

This property exists for form items such as button, buttonEdit, and static image. It includes an initializer, which defines how the property's default value is determined.

You must define the FGLIMAGEPATH environment variable to centralize image files on the application server in a directory created specifically for images. For portability reasons, it is recommended to use .png, .jpg, or .svg image file formats.

You can also specify an image from a URL (http or https). The network access to the Web server must exist and network bandwidth must be sufficient to rapidly download the images.

Supported image formats

Here is the list of image file formats supported by the different front-ends:

Table 1. List of image file formats supported by different front-ends
Suffix (case insensitive) Front-ends supporting the file format
.BMP GDC, GBC, GMA, GMI
.GIF GDC, GBC, GMA, GMI
.ICO GDC, GBC, GMA, GMI
.JPG GDC, GBC, GMA, GMI
.PNG GDC, GBC, GMA, GMI
.SVG GDC, GBC
.TIFF GDC, GBC, GMA, GMI

For additional information, see the IMAGE attribute and Providing the image resource topics in the Genero Business Development Language User Guide.