You are here: Home / Documentation / How To's / What to do if you want to upload a "large" image or file to Plone?

What to do if you want to upload a "large" image or file to Plone?

by kimadmin — published Nov 23, 2009 01:55 PM, last modified Aug 16, 2016 10:50 AM
You tried to add a file or image to Plone but you got an error message about having exceeded the maximum allowed size

Late last week (Nov. 20, 2009) we put in place limits on the size of images and files you can upload to UW Oshkosh Plone sites.  Those limits are:

  • For images: maximum dimensions (height, width in pixels) are 1024x1024; maximum file size is 500 KB
  • For files: maximum file size is 30 MB

Why did we put in these limits?  

We put in these limits because Plone is neither a mass photo storage system nor a mass file storage system.  UW Oshkosh provides and supports alternative systems that do a better job than Plone for these functions.

  • For documents: please use TitanFiles instead. Academic Computing can set up a group folder in TitanFiles where you can store your documents; you then set appropriate sharing permissions on the documents, and then add a Link to them from your Plone site.
  • For images: if you need to store large numbers of photos or you need to store them at full resolution or in non-compressed formats (such as RAW, TIFF, BMP), please contact us, Media Services, or Academic Computing for a recommendation on a more suitable photo storage system, depending on your needs.  Alternatively, you could consider using TitanFiles.  
  • For videos: Flash videos can be streamed from our streaming server very elegantly.  For other video formats, we can recommend other methods.  Please contact us or Media Services for more details.

How to Reduce Image Size for use in a Plone Site

There are two ways to reduce the size of an image:

  • resave it as a JPEG; when you save an image as a JPEG you can also set a compression ratio that affects the final image size (the higher the compression, the lower the image quality but also the smaller the resulting file size)
  • reduce the image dimensions (height, width); a lot of cameras today take photos that are 3000 x 2000 (sometimes more); for web use, especially in Plone galleries, no one is going to want to see images that size; resample the image down to 1024x768, for example, or better yet 800x600, save it, then add that new image to your Plone site