Closed (fixed)
Project:
IMCE
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
11 Mar 2007 at 05:05 UTC
Updated:
25 Jun 2019 at 21:19 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
ufku commentedit is a bit late for 5.x. may be in 6.
Comment #2
hanief84 commentedDrupal 6? Sounds delicious!
Comment #3
agerson commentedWould be nice...
Comment #4
problue solutionsI'd consider it essential tbh, having to upload one file at a time is ridiculous. Not a criticism of IMCE as such, more of drupal in general.
Comment #5
mcrittenden commentedMarking critical since there are quite a few issues about this and there are NO decent Drupal solutions out there. Adding this feature (maybe with integration of swfupload) could tremendously help the future of this module and Drupal's image management in general.
Comment #6
mcrittenden commentedComment #7
mcrittenden commentedCreated a quick and dirty module for this that could use your (meaning anyone's) input/patches.
http://drupal.org/project/imce_swfupload
Comment #8
problue solutionsfantastic!
I have a problem tho and I'm not sure if its a limitation or a setting I cant find. I installed the module and when i go to IMCE I can see the upload multiple files button, when I click this the dialogue box comes up but the only files I can select are jpg png gif and txt, I need to upload mp3 files.
I went into the SWF upload settings and added .mp3 for all content types for all roles, but mp3 files are still not in the filter to upload in IMCE. I can't see anything in the IMCE settings regarding allowed extensions, and as far as I can see there is no configuration options for your IMCE SWF upload module.
any ideas?
Comment #9
mcrittenden commentedHmm, post it in the imce_swfupload issue queue if you haven't already and I'll check it out.
Comment #10
problue solutionsdone.
I'm not sure how this interfaces with swf upload, but im kinda thinking the fact the allowed file types in swfupload are associated to content types and roles, that this insn't where its set, in saying that tho there are no allowed extension settings for IMCE and no specific settings for your own module, so is there something hard coded in your module regarding allowed file types or is it not picking up the settings of swfupload? Major step forward anyway, appreciate your work.
Comment #11
martinwillb commentedIt is hard coded in the module settings.inc found in>> (sites/all/modules/swfupload)
Check out the line of code below. I got this to work but know I can't seem to get the files to upload in the users dircectory. The user that uploaded the files.
// Set a default value if array is empty
if(empty($settings[$role])) {
$settings[$role]->filepath = '%uid';
//'%file_directory_path';
$settings[$role]->max_img_resolution = '800x600';
$settings[$role]->list = 1;
$settings[$role]->file_extensions = 'jpg jpeg gif png txt doc mov wmv mp3 mpg2';
$settings[$role]->max_file_size = 1;
$settings[$role]->node_max_file_size = 0;
$settings[$role]->max_files = 1;
$settings[$role]->upload_usersize = 10;
if ($role == t('authenticated user')) {
Comment #12
emptyvoid commentedSo how does the module handle registering the files into the files table?
Although the blog post exclusively uses Drush, could we pull some knowledge from the technique used and build a simple settings page using the FORM API for administrators to:
a) Register the path to base the audit on.
b) Run an audit and view report.
c) Run an update adding all files not found in the DB?
d) Run an update to clean files that are referenced in the db but point to a missing file?
http://www.freelock.com/blog/john-locke/2010-02/using-file-field-importe...
Maybe this should be a module dedicated to managing files on the server and registering the files into the db?
This issue affects file field, file field sources, in addition to IMCE.
Comment #13
ufku commentedClosing 6.x-1.x issues as this branch is no more supported.
Comment #14
donquixote commentedThis applies just as much to the Drupal 7 branch as it applied to the Drupal 6 branch.
Multi-upload would be very useful.
Why not simply use the html 5 multi upload, similar to
http://drupal.org/project/multiupload_imagefield_widget
Comment #15
STNyborg commentedThe IMCE module was just what I was looking for. From time to time I want to upload 20-50 documents that my system dynamically makes links to. Therefore I want to upload files to my DRUPAL site without first attaching them to specific content.
However, I was sad to see that IMCE only supports single file upload. I am aware that other modules support multi file uploads, but none with the nice IMCE feature of seeing right into the backend file structure without being in content edit mode.
Apparently the people behind DRUPELLA have solved the issue and made a special module (see here: http://shop.drupella.com/product/imce-multiple-upload) , but right now they fall short of my interest when charging money for the module.
Does anyone else have a comment on multiple upload support with IMCE?
Regards,
Svend
Comment #16
spgd01 commentedI second the request for both 6x and 7x
Comment #17
tierso commentedJust wondering, is this even on the todo-list for this module (and if so then how far down the list) or do we have to look elsewhere for something that can handle multiple uploads
Comment #18
MakeOnlineShop commentedHello,
I am confused.
These modules seem to be the solution for multiple pictures upload ?
http://drupal.org/project/imce_swfupload
http://drupella.com/product/imce-multiple-upload
So what are you still looking for ?
Thanks.
Comment #19
donquixote commentedI would much prefer HTML5 multi upload over a flash solution.
Comment #20
MakeOnlineShop commentedIf you mean this it is only for D7:
http://drupal.org/project/multiupload_imagefield_widget
Comment #21
emmonsaz commentedHow about something like this for HTML5 multiple support?
Note: patch created for imce-7.x-1.9
Comment #22
emmonsaz commentedComment #23
joelpittet@emmonsaz This looks promising, how's it been working for you?
Moving to -dev.
Comment #24
emmonsaz commented@joelpittet It's been working great.
Comment #25
joelpittetFolders got moved around in the dev version of IMCE. Could you re-roll this against dev?
I'll give it a test run after rerolled.
Comment #26
joelpittetComment #27
dalinI didn't test it in action, but here's a code review:
Should probably pull this out of the loop. No need to do all of this for every file.
Since there are multiple files, which one failed?
Comment #28
alimc29 commentedLooks like there hasn't been any activity on this thread in a couple years, but I have re-rolled the #21 patch here, along with some feedback from point 1 in comment 27, and keeping the update of
basenametodrupal_basenameper the latest code in 7.x-1.11Comment #29
phrk commentedPatches #21 and #28 seems to work, thanks.
Comment #30
thallesNeeds human tests.
Comment #31
thallesThe #28
error: corrupt patch at line 77Follow a new patch!
Comment #33
thallesThanks everyone!
Comment #34
thallesAfter 12 years we closed this issue!
Congratulations for all!