This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

Xitara
Xitara

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.

Digital Artisans
Digital Artisans

As a sidenote, make sure you set your PHP upload_max_filesize to the same filesize.

zimple
zimple

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.

netgeek12355183
netgeek12355183

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.

behiry
behiry

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

siraj60540
siraj60540

i have already maxFilesize:4096 but still not upload greater than 6md file

1-6 of 6

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.