Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
Panel | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
This feature is enhanced in Joget DX to support image resizing options |
Table of Contents
Image Upload is designed to cater to images. Uploaded images will be displayed according to dimensions set.
Panel | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
This feature is enhanced in Joget Workflow v6 to support multiple file upload as well as drag and drop file upload. |
...
The Image Upload is only available on Professional and Enterprise Edition.
The easiest way to see how the ImageUpload works are to use the existing built-in App Expenses Claims. Here are the steps:
Steps | Screens (Click to view) |
---|---|
| Figure 1 Figure 2 |
Name | Description | Screen (Click to view) |
---|
Figure 1: Screenshot highlighting Image Upload in Form Builder
Figure 2: Screenshot highlighting Image Upload with image uploaded in actual Form
Figure 3: Image Upload Properties
ID | Element ID (By declaring as "photo", a corresponding database table column "c_photo" will be created) | |
Label | Element Label to be displayed to the end-user. |
...
Figure 4: Image Upload Properties - UI
Name | Description | Screen (Click to view) | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Allowed multiple files upload? | When checked, multiple files can be uploaded. | ||||||||||
Readonly | Determines if the element is editable. | ||||||||||
Drop zone padding | Determine the extra size of padding for the larger drop zone.
|
Name | Description | Screen (Click to view) |
---|---|---|
Width (px) | Width in integer | |
Height (px) | Height in integer | |
Create Thumbnail? | Determines if the element will create a thumbnail and show it below the upload file element after an image is uploaded. |
...
...
Name | Description | Screen (Click to view) | ||||
---|---|---|---|---|---|---|
Validator | Attach a Validator plugin to validate the input value.
|
| ||||||
Maximum File Size (kb) | Maximum File Size (KB) in Integer. | |||||
Error Message (File size limit exceeded) | Error Message when file size exceeded. | |||||
Image File Type | Accepted file extension(s). (Semicolon separated values)
| |||||
Error Message (File type mismatch) | Error Message when file type mismatched. | |||||
Delete actual file during overwrite or remove? |
The actual file will be deleted when a file is removed or being overwritten.
|
Name | Description | Screen (Click to view) | |||||||
---|---|---|---|---|---|---|---|---|---|
Maximum Width (px) | If set, images will be resized to these dimensions before being uploaded.
| ||||||||
Maximum Height (px) | If set, images will be resized to these dimensions before being uploaded.
| ||||||||
Quality (Max 1.0) | set the quality of the resized image. | ||||||||
Method | sets how the images should be scaled down in case both Maximum Width (px) and Maximum Height (px) are provided. There are only two methods:
|
...
Name | Description | Screen (Click to view) |
---|---|---|
Permission | Manage on who is able to access the file uploaded. Read more at Permission Control. |