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 init-param called max-image-size to the imageVersionFilter definition in a publication's web.xml file. To set the limit up to 12 megapixels, for example, you would need to add the following to the imageVersionFilter definition:


If you set max-image-size too high, you run the risk of provoking out-of-memory errors.