| Panel | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||
图片上传 的目的是为了迎合图片。上传的图像将根据设置的尺寸显示。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. |
...
Joget Workflow v6增强了该功能,支持多文件上传以及拖放文件上传。 |
图1:在Form Builder中突出显示图片上传的截图
图2:突出显示图像上传和图像上传的图片,以实际的形式上传
图3:图像上传属性
| 名称 | 描述 |
|---|---|
| ID | 元素ID(通过声明为“photo”,将创建相应的数据库表列“c_photo”) |
| Label | 元素标签显示给最终用户。 |
图4:图像上传属性 - UI
| 名称 | 描述 |
|---|
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
| Name | Description |
|---|---|
| ID | Element ID (By declaring as "photo", a corresponding database table column "c_photo" will be created) |
| Label | Element Label to be displayed to end user. |
Figure 4: Image Upload Properties - UI
| Name | Description | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| 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 larger drop zone.确定较大放置区域的填充的额外大小。
| ||||||||||
| 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 image is uploaded.确定元素是否会创建缩略图,并在上传图像后将其显示在上传文件元素的下面 |
Figure 5: Image Upload Properties - Advanced Options
图5:图像上传属性 - 高级选项
| 名称 | 描述 | |||||
|---|---|---|---|---|---|---|
| Validator | 附加一个Validator插件来验证输入值。 | |||||
| Name | Description | |||||
| Validator | Attach a Validator plugin to validate the input value.
| |||||
| Maximum File Size (kb)Maximum File Size (KB) in Integer. | 最大文件大小(KB)整数。 | |||||
| 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? | Actual file will be deleted when file is removed or being overwritten. 文件被删除或被覆盖时,实际文件将被删除。
| |||||
| Permission | Manage on who is able to access the file uploaded. Read more at Permission Control. 管理谁可以访问上传的文件。阅读 权限控制.
|




