This article covers a Bloomreach Experience Manager version 13. There's an updated version available that covers our most recent release.

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

svg.scripts.enabled Boolean As of version CMS 12.0.4, by default, upload of SVG images with embedded Javascript is disabled. In order to enable upload of SVG images with Javascript support, boolean property svg.scripts.enabled should be added and set to 'true'    

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

Image display configuration

/hippo:namespaces/hippogallery/image/editor:templates/_default_/display

Maximum height and width of the displayed image

If an image has a resolution larger than the defaults maximum (800 x 800), the message "Image too large to be shown" is shown. You can configure the maximum resolution by setting two properties display.max.height and display.max.width on above node.

Hide mime type, file size and download link

Since 13.4.2, the metadata of displayed image variants also show the mime type, file size and a download link, similar to variants that are too large to be shown. It is possible to hide these by setting boolean property display.dimensions.only=true on above node.

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?