Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
Image is used to display image in the report. Uploaded images will be displayed according to the dimensions configured.
Figure 1 : Image properties
Name | Description |
---|---|
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 |
|
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.