barryvdh / laravel-elfinder

elFinder bundle for Laravel
741 stars 171 forks source link

Cannot select multiple files #161

Open chrisjohnstone opened 7 years ago

chrisjohnstone commented 7 years ago

I'm trying to use Elfinder to select multiple image files and return an array of the files paths although I can't seem to select more than one image file using the standalone popup.

$('#elfinder').elfinder({
        url: 'elfinder/popup',
        commandsOptions: {
             getfile: {
                 multiple: true
             }
        },
        getFileCallback : function(file) {
              var urls = $.map(file, function(f) { return f.url; });
              console.log(urls);
        }
}).elfinder('instance');

Perhaps related to #68 ?

Thanks.

estrica2000 commented 7 years ago

me either! did you solve it? thanks

kvinkinamoto commented 4 years ago

i also need this functionality

alinlinca10 commented 10 months ago

Anyone who resolve this?