Image and asset upload configuration
The HTML5 file upload plugin is used to upload images and assets in the CMS. The plugin is configured with the following properties:
Images
Dialog
/hippo:configuration/hippo:workflows/gallery/image-gallery/frontend:renderer
Name | Type | Description | Default dialog value | Default template value |
fileupload.maxItems |
Long |
The maximum allowed files to upload in one dialog or template. NOTE: This configuration property is affected by the ' fileupload.autoUpload', if enabled a file is uploaded once selected regardless the number assigned to this configuration property |
25 |
1 |
(deprecated) |
String multiple |
A list of allowed file extensions specified as *.jpg, *.gif, etc. Leave blank for any extension. NOTE: this property is deprecated from v2.22.11 and onwards in favor of the UploadValidationService (see here) |
*.jpg, *.jpeg, *.gif, *.png |
*.jpg, *.jpeg, *.gif, *.png |
|
String multiple |
Same as fileupload.allowedExtensions and is only kept for backwards compatibility. |
Template
/hippo:namespaces/hippogallery/image/editor:templates/_default_/upload
Setting the maximum width and size of the displayed image in the image document
If an image has a resolution larger than the defaults maximum (800 x 800), a message is shown in the preview : "Image too large to be shown" . You can configure the maximum resolution by setting two properties display.max.height and display.max.width on the node
/hippo:namespaces/hippogallery/image/editor:templates/_default_/display
Assets
Dialog
/hippo:configuration/hippo:workflows/gallery/asset-gallery/frontend:renderer
Name | Type | Description | Default dialog value | Default template value | ||||
fileupload.maxItems |
Long |
The maximum allowed number of files to upload in one dialog or template. |
25 |
1 |
||||
(deprecated) |
String multiple |
A list of allowed file extensions specified as *.jpg, *.gif, etc. Leave blank for any extension. Note: this property is deprecated from v2.22.11 and onwards in favor of the UploadValidationService (see here) |
||||||
|
String multiple |
Same as fileupload.allowedExtensions and is only kept for backwards compatibility. |
|
Template
/hippo:namespaces/hippo/resource/editor:templates/_default_/upload