This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
The upload-limit in Dropzone is 256MB at this time. To increase it, open
modules/backend/formwidgets/fileupload/assets/js/fileupload.js
and add the following line after line 105 (maxfiles: ...)
maxFilesize: 4096,
Now you can upload files up to 4GB.
As a sidenote, make sure you set your PHP upload_max_filesize to the same filesize.
Won't this be overridden on update? Would be great to have a config available in the backend settings. Even better would be having the ability to fine tune the value based on file size. i.e. Some client's may need to upload large PDF's, however I want to limit png/jpg upload to 2mb.
You can limit the upload size in the php.ini. You will need root access in most cases.
If you can not edit or find the php.ini on the system you are using contact your hosting provider.
This solution didn't work for me. I changed this value in:
\modules\backend\assets\js\october-min.js
Replaced:
maxFilesize:256
with the new max size:
maxFilesize:4096
Last updated
1-6 of 6