add options allowedFiles and more
This commit is contained in:
parent
c01f7f98ae
commit
fba33d3afc
1 changed files with 3 additions and 0 deletions
|
@ -4,6 +4,9 @@ var DzFactory = function () {
|
|||
paramName: 'userfile', // The name that will be used to transfer the file
|
||||
maxFilesize: max_imagesize, // MB
|
||||
url: '/media/photo/upload?response=url&album=',
|
||||
addRemoveLinks: true,
|
||||
acceptedFiles: 'image/*',
|
||||
clickable: true,
|
||||
accept: function(file, done) {
|
||||
done();
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue