From: Jakobus Schürz Date: Thu, 16 Mar 2023 11:04:15 +0000 (+0100) Subject: add options allowedFiles and more X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=fba33d3afc5cff66094f162cd5c29e59a034126f;p=friendica.git add options allowedFiles and more --- diff --git a/view/js/dropzone-factory.js b/view/js/dropzone-factory.js index bbf92625d8..a3a3e6c362 100644 --- a/view/js/dropzone-factory.js +++ b/view/js/dropzone-factory.js @@ -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(); },