Surahman
Surahman

Hi, Currently, I build a website to sell photos and videos. But I got an issue when trying to upload a large file such as video file have a huge size. Which mean OctoberCMS only allow us to upload a file less than 256MB. I hope there are new features like;

  • We can modify maximum file size without touching OctoberCMS module
  • We have an option to upload file with a chunk

I know OctoberCMS use Dropzone.js to handle uploading file and the bad news is the Dropzone.js don't have a feature to chunk a file when uploading.

Currently, I trying to make formwidget using Resumable.js to handle my case.

Thanks

Last updated

az-vm
az-vm

Hi Surahman,

I think is your hosting php.ini file to determinate the upload max file size.

Have you made a website to sell photos with OctoberCMS ?

Thanks

Surahman
Surahman

No, you wrong. I already configure my php.ini.

l4x1ty
l4x1ty

Hello,

There is a 256MiB limitation hard coded in javascript file: modules\backend\assets\vendor\dropzone\dropzone.js

Dropzone.prototype.defaultOptions = {
      url: null,
      method: "post",
      withCredentials: false,
      parallelUploads: 2,
      uploadMultiple: false,
      maxFilesize: 256,
...

`

And it's minified in : \modules\backend\assets\js\october-min.js

... Dropzone.prototype.defaultOptions=....{url:null,method:"post",withCredentials:false,parallelUploads:2,uploadMultiple:false,maxFilesize:256,paramName:"file  ...

Hope it helps

Best regards

sakshimaurya7036788
sakshimaurya7036788

The above solution doesnt work .

Dizoo
Dizoo

Please look into chunked upload @OctoberCMS

1-6 of 6