This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
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
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
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
1-6 of 6