Multipart upload in module Orchard.Media

Topics: Writing modules
Jan 6, 2012 at 3:20 AM

HI,

I have write an module and using module Orchard.Media for upload media file with plupload control, problem is when i choose large image then the image upload be lost size, when i don't use resize code .

Coordinator
Jan 6, 2012 at 5:39 AM

Maybe you should ask whoever wrote that plupload control?

Feb 6, 2012 at 8:34 PM

Have you checked setting on the web server? IIS has a default restriction of about 30MB on file uploads and I don't believe that the Orchard web.config overrides this by default.

Here are the instructions for IIS7:

http://www.cyprich.com/2008/06/19/fixing-file-upload-size-limit-in-iis-7/

Also, verify that you can upload the file directly into the media folder. If you receive a timeout error then you know you've got some higher level configurations to handle. The plupload control also can set a max file size; you may want to check what default that is set to.