Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-5970

Reduce chance of out-of-memory during image upload (patch attached)

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • High
    • Resolution: Fixed
    • 2.23.01-alpha
    • 2.24.00
    • None
    • None

    Description

      1) we should make sure that the serialization of resizing when multiple users are uploading is working properly.
      2) apply a limit on the dimensions and file size of the image. An image with large dimensions can occupy a lot of memory space when resized.

      Description below is based on checking file size solely and is thus outdated.

      Flash based upload: change javascript such that flash upload gets a limit that is configured in the repo. Make sure that the error msg for reaching the limit is localized.
      Wicket based upload: check server side image size. Basic idea for the feedback is: Throw hippo exception when image too large. Change the default error dialog such that hippo exception is properly displayed instead of displaying 'an error occurred'

      Latter needs check with Frank

      Attachments

        Issue Links

          Activity

            People

              svoortman Simon Voortman (Inactive)
              swesten Stephan Westen
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: