You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Current »

Definition

Image is used to display image in the report. Uploaded images will be displayed according to the dimensions configured.


Figure 1 : Image properties

NameDescription
Selector Class

The class for current element.

Path

Expects the path of the image.

Click on "Choose Image" to select available images or upload new images.

Width

Image width.

Example

100px or 100%

Height

Image height.

Example

200px

Alignment
  • Left
  • Center
  • Right
Margin Bottom

Bottom margin of the image.

Example

10px or 10%


Joget PDF generation is only performed on the server-side, hence any JavaScript will not be executed because JavaScript is only executed on the client-side browser.
This means you cannot use JS to modify the HTML for PDF. You will need a different approach where the form HTML modification is performed entirely on the server-side.
Ensure that your data source in Joget contains fields for image URLs or binary data, depending on how your images are stored. Should there are any need to run JavaScript, please do so on the server-side.

  • No labels