add options allowedFiles and more
This commit is contained in:
@@ -4,6 +4,9 @@ var DzFactory = function () {
|
|||||||
paramName: 'userfile', // The name that will be used to transfer the file
|
paramName: 'userfile', // The name that will be used to transfer the file
|
||||||
maxFilesize: max_imagesize, // MB
|
maxFilesize: max_imagesize, // MB
|
||||||
url: '/media/photo/upload?response=url&album=',
|
url: '/media/photo/upload?response=url&album=',
|
||||||
|
addRemoveLinks: true,
|
||||||
|
acceptedFiles: 'image/*',
|
||||||
|
clickable: true,
|
||||||
accept: function(file, done) {
|
accept: function(file, done) {
|
||||||
done();
|
done();
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user