Image Upload Size Limits
The Content Engine has two parameters that you can use to limit the size of uploaded images:
maxImageSize
-
A maximum image size, specified in pixels. Uploaded images that exceed this limit are down-sampled to bring them under the limit. This setting is disabled by default but can be enabled at any time by defining a value.
maxFileSize
-
An absolute file size image specified in bytes. Uploaded images that exceed this limit are discarded. The default setting is
1000000000
(1GB).
The limits apply to all images, however they are uploaded (from Content Studio, via the syndication subsystem, the API or the web service).
The limits can be configured separately for different image types by adding properties files to one of your Configuration Layers and specifying the required property values:
-
configuration-root
/com/escenic/storage/binaryfactory/PngProcessorFactory
for PNG images -
configuration-root
/com/escenic/storage/binaryfactory/JpegProcessorFactory
for JPEG images -
configuration-root
/com/escenic/storage/binaryfactory/OtherImageProcessorFactory
for other image types
Note that no maxImageSize
value is set for other
image types since down-sampling is not possible for unknown image types.