javascript - Change image file name to unique using dropzone.js -
i'm trying make image upload website using dropzone.js.
i need change image unique name can change display name or name image saves.
this code got now:
dropzone.options.fileupload = { paramname: "file", // name used transfer file maxfilesize: 10, // mb init: function() { this.on('processingfile', function(file) { file.name = 'test.jpg'; }); } };
there no clear way this.
uploading multiple files same file.name using dropzone.js
use processing
event: (not working)
mydropone.on('processing', function(file) { file.name = 'justin-bieber.jpg'; });
Comments
Post a Comment