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.

Dizoo
Dizoo

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

dev28125
dev28125

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

1-5 of 5