For the complete documentation index, see llms.txt. This page is also available as Markdown.

Application graphics

Availability of the functionality depends on the license and the deployment configuration and may not be available in all deployments.

An application graphic is an application element (artifact) that stores a graphic file — e.g. a logo, icon, or illustration — used in the forms of this application. Graphics are added in Eximee Designer in the Graphics tab of the application. Each graphic gets a fixed relative path, which is entered in the form, e.g. in the component Image - Image.

Graphics belong to the application and are moved together with it: application export includes them, and application import publishes them in the target environment. There is no need to deliver graphics as a separate package or manually upload files by an administrator.

Graphic path

The relative path of the graphic has the following form:

graphic/{application_name}/{light|dark}/{file_name}

Example for the application demo and file logo.svg:

graphic/demo/light/logo.svg
graphic/demo/dark/logo.svg
  • The path is the same in every environment (DEV, TEST, PROD), so after migrating the application there is no need to change it in the forms.

  • The path cannot be changed after the graphic is added. To use a different name, add the graphic again under the new name.

  • New graphic version keeps the current path, so the forms do not need to be changed.

Light and dark variants

Each graphic has two variants:

  • light - required,

  • dark - optional, e.g. a logo version for a dark background.

If the dark variant is not added, at the path dark the light file is published. This ensures that both paths always return a graphic.

The variant is selected by entering the appropriate path in the form (light or dark).

File requirements

Requirement
Value

Supported formats

PNG, JPG (JPEG), WebP, SVG

Format of the light and dark variants

the same for both variants, e.g. both files JPG

Maximum size of one variant

5 MB

Allowed characters in the name

letters without Polish diacritics, digits, dot (.), underscore (_), hyphen (-)

The file contents must match its format - e.g. a file with the extension .pngthat is actually a JPG file will be rejected.

Browsing graphics

  1. Go to the Applications module and open the application.

  2. Click the Graphics.

tab. If the application does not have the Graphicstab, application graphics are not enabled in this environment. Contact the administrator.

Tab Application graphics shows graphics as tiles. Each tile contains:

  • a thumbnail of the light variant,

  • labels Light or Light and Dark - the second label appears only when the graphic has a separate dark file,

  • file name,

  • format, dimensions, and size,

  • modification date,

  • light variant path.

To copy the light variant path, click the Copy path icon on the tile.

To find a graphic, enter part of the file name in the Search....

Figure 1. Application "Graphics" tab

Adding a graphic

  1. In the Graphics tab, click Add graphic.

  2. In the Light variant tab, click Choose or drag a file and select a file or drag it onto the field.

  3. (Optional) In the Dark variant you can add a file for a dark background. The dark file must have the same format as the light file.

  4. Check the field Name in URL. By default it contains the light file name - you can change it, e.g. to logo.svg.

  5. Check the path preview in the fields Light path and Dark path.

  6. Click Publish.

The button Publish is active only when the light file has been added and the checklist in the window contains no errors (format, size, name). If the light and dark files have different formats, e.g. light PNG and dark JPG, an error appears at the Supported format position.

Figure 2. "Add graphic" window with light and dark variants

After adding, the graphic is published immediately and available at its path. Adding a graphic increases the application version, just like adding a form or process.

The graphic name must be unique within the application. The same file name can appear in different applications because the path includes the application name.

Graphic details

To open the details, click the file name on the tile. The details page contains:

  • graphic status: Active (the graphic is published) or Inactive,

  • tab Preview - switch Light/Dark, preview background selection (Transparent, Light, Dark), zoom from 25% to 400% and Fullscreen,

  • tab Information - application, file name, format, dimensions, size, size limit, latest version, author, and modification date,

  • field Relative path - path of the selected variant with the Copy address.

Figure 3. Graphic details - light variant
Figure 4. Graphic details - dark variant on a dark background

If the graphic does not have a dark variant, after selecting Dark the preview shows the light file with a note that the dark variant uses the light file.

Adding a new graphic version

A new version replaces the graphic files without changing its name or path. This allows, for example, updating a logo in all forms that use it, without editing those forms.

  1. Open the graphic details.

  2. Click Add new version. The Edit graphic window will open with the current light and dark files.

  3. In the Light variant tab, click Change file and select a new file or drag it onto the field.

  4. (Optional) In the Dark variant you can:

    • add or change the dark file,

    • click Delete file - from now on, at the path dark the light file will be published.

  5. Click Publish.

Example: graphic logo.jpg in the application demo has the latest version 1.0. After replacing the light file with a new JPG file and clicking Publish the graphic details show the new preview, dimensions and size, and Latest version: 1.1. Path graphic/demo/light/logo.jpg does not change.

Figure 5. "Edit graphic" window after clicking "Add new version"

In the window Edit graphic:

  • the fields Name in URL, Light path and Dark path are locked,

  • Supported formats they show only the format of the current graphic - e.g. for a JPG graphic you can upload only JPG files; a file in a different format means an error at the Supported format,

  • a size limit of 5 MB applies to each variant,

  • button Publish is active only after changing one of the files and only when the checklist contains no errors.

After publishing:

  • the previous graphic files are replaced with new ones - version history is not available and the previous version cannot be restored,

  • the latest graphic version increases by 1 in the part after the dot, e.g. from 1.0 to 1.1,

  • the application version does not change - the application immediately uses the new graphic version,

  • the preview in graphic details and the thumbnail in the graphics list refresh immediately.

The form may still display the previous graphic version for about 5 minutes because the browser stores it in cache.

Using a graphic in a form

A graphic is inserted into a form by its relative path - in the component Image or in content. The path can be copied in the graphic details from the Relative pathfield, e.g. graphic/demo/light/logo.svg.

In the Image component

  1. Open the application form and add the Image (Image) component.

  2. In the Image link field, paste the graphic path.

  3. In the WCAG section, set Presentation and fill in the alternative text according to the component description.

In content (TextContent)

In content, the graphic is inserted like any other image - by providing its relative path. Example in Wiki Markup syntax with alternative text:

The same image in HTML:

Deleting a graphic

  1. Open the graphic details.

  2. Click Delete.

The graphic disappears from the list, and the application version increases. From now on, the light and dark paths of the graphic return a 404 error, and its name can be used again.

Immediately after deletion, a message appears with the Restorebutton, which undoes the deletion. Restoration is not possible if a graphic with the same name has been added in the meantime.

Figure 6. Message after deleting a graphic with the "Restore" button

Moving graphics between environments

Graphics are moved together with the application - there is no separate export of graphics.

  • Application export (Issue) - if the application has graphics, instead of the .artifact file is created .zip file with the application definition and graphic files. More: Application export/import.

  • Application import (Import application) - select the file .zip. Graphics from the package will be saved and published in the target environment.

  • Environments module - migration and application export also transfer its graphics. More: Environments module.

The published version of each application graphic is included in the package, in both variants.

Last updated

Was this helpful?