Limiting Representation Size
In order to prevent the generation of representations that are large enough to provoke out-of-memory errors, the Content Store has a size limit for image representations that is set to 10 megapixels (10000000 pixels) by default. Any representation that would exceed the limit is downsampled to fit.
You can modify this limit on a per-publication basis by adding an
imageVersionFilter definition in a
file. To set the limit up to 12 megapixels, for example, you
would need to add the following to the
<filter> <filter-name>imageVersionFilter</filter-name> <filter-class>com.escenic.presentation.servlet.ImageVersionFilter</filter-class> <init-param> <param-name>max-image-size</param-name> <param-value>12000000</param-value> </init-param> </filter>
If you set
max-image-size too high, you run the
risk of provoking out-of-memory errors.