Download & Extend

Insert multiple files

Project:IMCE
Version:7.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Kingdutch
Status:closed (works as designed)

Issue Summary

Would it be difficult to allow for multiple file inserts at the same time? I currently get an error when more than 1 file is selected (in an unlimited image field): "Please select a file".

On a sidenote I'm trying to figure out how to integrate plupload with imce, that coupled with this bug fix and maybe a way to disable the default drupal upload would make it possible to route all the media management through imce : )

Comments

#1

Project:IMCE for FileField» IMCE
Version:7.x-1.x-dev» 7.x-1.x-dev

Moved to IMCE issue queue as it seems this is not a bug/feature inherent to IMCE for FileField but rather to IMCE itself.

#2

Assigned to:Anonymous» Kingdutch
Status:active» needs review

This patch is to support multiple file insertion first implemented in imce_filefield in the related issue #1597366: Multiple file insert

AttachmentSize
IMCE-implement_multiple_insert-1591410-0.patch 3.04 KB

#3

Status:needs review» needs work

Consistent with the report here, it seems the following line:
        fToSend.push(imce.fileGet(value));
Should be changed to:
        fToSend.push(imce.fileGet(index));

#4

As per my comment #17 at #1597366: Multiple file insert, after applying both patches in this and the related issue and making the change in #3 this is still not working for me with the imce 7.x-1.6 or the latest dev version, and the latest imce_filefield latest dev version. Has anybody managed to get this to work? This is really useful when multiple files need to be inserted, thanks.

#5

Status:needs work» needs review

I've re-rolled and attached patches (and commented on the patches) over here in the IMCE FileField queue. It would be good to hear the maintainer's thoughts on them.

#6

@the maintener(s) -

As per #5, there are 2 patches required to allow multiple files to be inserted using imce_filefield, one for imce and one for imce_filefield. As per #21 in the related imce_filefield issue, #1597366: Multiple file insert the 2 patches have been tested and confirmed to be working correctly against the latest dev versions of both these modules and they are RTBC from my perspective. Can you please review and commit if these look good to you as well? Thank you.

#7

Status:needs review» closed (works as designed)

IMCE can be used to work with multiple files as described in the related issue.

#8

This didnt work for me. I applied both patches, but when selecting multiple files and clicking insert it said only one file at a time was allowed.

#9

Sorry, got it working now, manually patched it wrong.

#10

Hello,

I am trying to upload many pictures in 1 click but I am using Drupal 6, can you help me ?

Thank you.

nobody click here