Image and asset upload configuration - BloomReach Experience - Open Source CMS

This article covers a Hippo CMS version 12. There's an updated version available that covers our most recent release.

07-07-2017

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

fileupload.allowedExtensions

(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

file.extensions (deprecated)

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.
NOTE: This configuration property is affected by the ' fileupload.autoUpload' property; if enabled a file is uploaded once selected, regardless of the number assigned to this configuration property

25

1

fileupload.allowedExtensions

(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)

   

file.extensions (deprecated)

String multiple

Same as fileupload.allowedExtensions and is only kept for backwards compatibility.

         

 

 

Template

/hippo:namespaces/hippo/resource/editor:templates/_default_/upload
Did you find this page helpful?
How could this documentation serve you better?
On this page
    Did you find this page helpful?
    How could this documentation serve you better?