jquery-file-upload-middleware
jquery-file-upload-middleware copied to clipboard
jQuery-File-Upload Express.js middleware
A dependency Formidable now has a default upper limit of 200MB for form post requests. We pass in the limit set in the options to get around this.
i use jquery-file-upload-middleware to upload my images to the server but it's crashed everytime !! **this my config:** upload.configure({ uploadDir:'./store/test', uploadUrl: '/store/test', }) app.use('/toto', upload.fileHandler()); **in the front:** ### **...
Since node v7.0.0, when use fs.unlink(path, callback) ,the callback parameter is no longer optional. Like use in node v10.14.2 ``` fs.js:137 throw new ERR_INVALID_CALLBACK(); ^ TypeError [ERR_INVALID_CALLBACK]: Callback must be...
app.use('/upload', function (req, res, next) { // imageVersions are taken from upload.configure() upload.fileHandler({ uploadDir: function () { return __dirname + '/public/uploads/' + req.body.uid }, uploadUrl: function () { return '/uploads/'...
just fixing the mistakes :+1: ;)
Getting this error in node 10.5.0 when I specify the `acceptFileTypes` option and the uploaded file does not pass. ``` TypeError [ERR_INVALID_CALLBACK]: Callback must be a function {snip}node_modules/jquery-file-upload-middleware/lib/uploadhandler.js:115:32 ``` This...
If imageVersions is configured, delete a file which is not image will cause a exception. add a empty function to avoid it.
Now a new file is created imagefile(1).png when the image already exists. Can I set a config somewhere to overwrite this action and just replace imagefile.png with the just the...
Hello, Is it possible to simply "disable" the uploadDir path? I am using this with [jquery-cloud-file-upload-middleware](https://github.com/drginm/jquery-cloud-file-upload-middleware) and don't want the files to be stored locally, i just want them on...