Hi all, I'm searching for multiple file upload module for D7. I have tested Plupload, but it seems unfinished and unstable (not usable at all). The other modules I know don't have D7 port yet.

My goal is to make a Picture Gallery with an upload control for uploading several images at once. Is there any working solution for Drupal 7?

Thanks

Comments

mishoboss’s picture

Anyone? There must be some solution...

Anonymous’s picture

subscribe

mishoboss’s picture

Any news, anything?

sw3b’s picture

I'm on the same stage as you...let me know if you find something.

mishoboss’s picture

Still nothing... I've tried to fix Plupload, but there are a lot of things to fix...

beckjonathan’s picture

Someone found it? Can't find one.

grz

sjiuh’s picture

http://drupal.org/project/dragndrop_uploads

seems very promising but still a long way from production ready

http://drupal.org/project/imce
can upload multible I think but its only for intergrating with wysiwyg editors etc.

dragndrop_uploads would be cool, just drag it in your browser an almost magical experience ;)

sub scribe here i would say:
http://drupal.org/node/834980

anruether’s picture

also media will work with plupload, at least that is what the description says

sw3b’s picture

Yes media, work good with PUpload but there is no granular permission. I would like to have something like Image FUpload but nothing seems to be ready yet for Drupal 7. Drag and drop is good but i don't think it can work with image field and I prefere not using drag and drop feature.

xandeadx’s picture

subscr

dubj1m’s picture

Do it!

dermotholmes’s picture

sub

xandeadx’s picture

Good news! I found working module - http://drupal.org/sandbox/czigor/1115362

natan_miranda’s picture

I think anyone who tried to use this module and could not is because not observed an important detail: the widget is avalaible just for FILE type input, NOT for IMAGE.... I was looking exactly for this module and it works fine. I can now create an image gallery with node and create a slideshow display with views.

WorldFallz’s picture

...the widget is avalaible just for FILE type input, NOT for IMAGE

huh?

http://drupal.org/project/multiupload_filefield_widget

and

http://drupal.org/project/multiupload_imagefield_widget

natan_miranda’s picture

Oh Thanks, i didnt see this before. Its perfect now!

sparlez’s picture

I couldn't believe it was working so well!

5ulo’s picture

subscr

ranx’s picture

Check out this sandbox project: http://drupal.org/sandbox/vingborg/1138512

unc0nnected’s picture

Great find! This is a brilliant dev module by the looks of it and it seems to be doing exactly what I need it to

schnelle02’s picture

I was also able to get this working with Plupload and it works great! Clean easy to use widget that allows batch uploads of any filetype.

Note: I had to patch mupload.module and plupload.js because it was only uploading the first file out of many, but after the patches it works great.

http://drupal.org/files/mupload-save_all_images-1164552-30.patch
http://drupal.org/files/required-upload-fix-1140666-7.patch

bassie111’s picture

Subscrb

altinukshini’s picture

Hi there abit late, but anyway..
In D7 there is no need for a module to upload files... you could have done it by creating a field.. and there you have the options of how many files you would like to let people upload and even which file types...
For more visit: http://drupal.org/documentation/modules/file

xandeadx’s picture

altinukshini, here discuss upload multiple files in one form submit

Ne0nx3r0’s picture

"Batch" uploading is the goal here, for uploading large amounts of files.

chefnelone’s picture

subs

gigi_igig’s picture

subs

f4o’s picture

Subscribe

Anonymous’s picture

subscribe

Alexander Matveev’s picture

subscribe

nilashis’s picture

subscribing

WorldFallz’s picture

The answer is still http://drupal.org/project/plupload -- and as long as users persist in subscribing rather than contributing, it's likely to be slow going.

Starminder’s picture

Ne0nx3r0’s picture

Unfortunately Drupal is not an animal that is easy to manhandle; most people would probably be booed off the stage for what they would produce trying to build something as complex as batch uploading for something as complex as Drupal.

I think the hope is that someone who understands Drupal at a core level will provide something, not a lack of motivation... and frankly it's overdue, users have been struggling with batch file handling in Drupal for years.

I'm impressed no one has incorporated this into the core.

WorldFallz’s picture

Batch file handling for d7 is probably going to be handled by the http://drupal.org/project/plupload module (the d7 branch already reports 3500+ installs. If even half the people that express interest in forum threads bothered to contribute it would be done already. It clearly must not be that important to them, or they would contribute.

There's no magic development team for drupal-- all it takes to make something happen is people to push it forward.

hbro’s picture

subscribing

mandrzej’s picture

subscr

anonym-developer’s picture

subscribing

ikeigenwijs’s picture

I have found a working solution, used plupload

sandbox project:
http://drupal.org/sandbox/vingborg/1138512

Would be supper when this would be a full project.
Hope this helps someone, took me some time to find this.

anonym-developer’s picture

the project ignores any settings set on the image filed, doesn't creates a file (in the db). It just uploads a file without any reference.

schnelle02’s picture

I have also been searching high and low for a solution for this. I got Plupload working in combination with media gallery, but I have a need to upload hundreds of pdf's to different nodes for an intranet site. I currently use FTP to do batch uploads since it is an intranet, but being able to batch upload to a node so it would be themed and perrrrty would be nice. I have also tried to get OCUpload working with CK editor but it seems broken, and CKFinder boasts multifile upload but I still can't seem to Shift click or control click on the widget. Why doesn't the core file upload widget allow you to shift click or cntrl click? It is a major inconvenience that they allow you to upload 'unlimited' files but you have to grab them one by one......very frustrating.

ardnet’s picture

subscribe

Jawi’s picture

subscribe

Practice what you preach >> www.jawi-online.nl >> Full service internet bureau >>

quantix2’s picture

sub

Sean-Khan’s picture

subscribe

juanjoleong’s picture

subscribe

ojfam’s picture

subscribe

RedTop’s picture

I used SWFUpload for D6 and now there is an 'unofficial' port for D7!

http://drupal.org/node/1147762#comment-5415540

sam6’s picture

Subscribing

dsemblano’s picture

Worked for me, multiupload module that really works (depends from Multiupload Filefield Widget):
http://drupal.org/project/1115362
http://drupal.org/project/multiupload_imagefield_widget

Don't depends from Plupload. Integration with title field and alt field. Recommended!

marcopanichi’s picture

they work like a charm!
thank you

ronhoogwater’s picture

Hey all,

There is a list of all modules that provide multiple file uploads: http://groups.drupal.org/node/155764.

I was very happy when I found this. In the list there are two suitable modules for Drupal 7, namely Plup and Multiupload Filefield Widget. Note that Plupload integration for D7 does not provide any user interface, only functionality for other modules.

oneidprod’s picture

subscribe

pedroportella’s picture

subscribe

c4antonio’s picture

subscribe

shippin’s picture

Multiupload Filefield Widget works great.
For uploading images you'll also need Multiupload Imagefield Widget installed.

5 minutes to set up and works great.

rangi500’s picture

Multiupload Filefield Widget and Multiupload Imagefield Widget worked great for me too.

First you have to install Multiupload Filefield Widget and then install Multiupload Imagefield Widget.

Anonymous’s picture

I don't like IE but my client use it :-(

tobiasdeardorff’s picture

Here's how I got multiple file upload to work as a custom form.

function photos_upload_form($form, &$form_state) {
	$form = array();
	
	$form['file'] = array(
		'#type' => 'file',
		'#name' => 'files[]',
		'#title' => t('Upload some photos'),
		'#description' => t('JPG\'s, GIF\'s, and PNG\'s only, 10MB Max Size'),
		'#attributes' => array('multiple' => 'multiple'),
	);
	
	//The nid of the node to upload the photos to
	$form['nid'] = array(
		'#type' => 'hidden',
		'#value' => $nid,
	);
	
	$form['submit'] = array(
		'#type' => 'submit',
		'#value' => t('Upload'),
	);
	
	return $form;
}

function photos_upload_form_validate($form, &$form_state) {
	//Save multiple files
	$num_files = count($_FILES['files']['name']);
	for ($i = 0; $i < $num_files; $i++) {
		$file = file_save_upload($i, array(
			'file_validate_is_image' => array(),
			'file_validate_extensions' => array('png gif jpg jpeg'),
		));
		if ($file) {
	    if ($file = file_move($file, 'public://')) {
	      $form_state['values']['file'][$i] = $file;
	    }
	    else {
	      form_set_error('file', t('Failed to write the uploaded file the site\'s file folder.'));
	    }
	  }
	  else {
	    form_set_error('file', t('No file was uploaded.'));
	  }	
	}
}

function photos_upload_form_submit($form, &$form_state) {
	$nid = $form_state['values']['nid'];
	$node = node_load($nid);
	if (is_array($form_state['values']['file'])) {
		//Make sure we keep our previously uploaded images
		$i = empty($node->field_image) ? 0 : count($node->field_image['und']);
		foreach ($form_state['values']['file'] as $file) {
			$new_file = file_load($file->fid);
			$file_info = image_get_info($file->uri);
			$node->field_image[LANGUAGE_NONE][$i]['fid'] = $file->fid;
			$node->field_image[LANGUAGE_NONE][$i]['alt'] = '';
			$node->field_image[LANGUAGE_NONE][$i]['title'] = '';
			$node->field_image[LANGUAGE_NONE][$i]['width'] = $file_info['width'];
			$node->field_image[LANGUAGE_NONE][$i]['height'] = $file_info['height'];
			$node->field_image[LANGUAGE_NONE][$i]['uid'] = $file->uid;
			$node->field_image[LANGUAGE_NONE][$i]['filename'] = $file->filename;
			$node->field_image[LANGUAGE_NONE][$i]['uri'] = $file->uri;
			$node->field_image[LANGUAGE_NONE][$i]['filemime'] = $file->filemime;
			$node->field_image[LANGUAGE_NONE][$i]['filesize'] = $file->filesize;
			$node->field_image[LANGUAGE_NONE][$i]['status'] = '1';
			$node->field_image[LANGUAGE_NONE][$i]['timestamp'] = $file->timestamp;
			$node->field_image[LANGUAGE_NONE][$i]['rdf_mapping'] = array();
			$i++;
		}
	}
	node_save($node);
	drupal_set_message(t('Upload successful'));
}

http://coderwall.com/p/rsv9ra

h4ck3rm1k3’s picture

this seems to be working, but i needed to raise the limits, the posts happen all in one shot that is very slow and error prone, there has to be a better way.

lyosef’s picture

Thank you to all

szantol’s picture

hi!
This is a simlpe, but great module for multi file upload:
https://drupal.org/project/multiupload_filefield_widget

SZL

Rahul Seth’s picture

It work fine. but I want to create a textfield(s) depend upon number of file select simultaneously.Is there any way?
Thanks in advance.

kc6ape’s picture

I can't get multiple files to upload, the widget lets me select multiple files and upload however only the very first file is actually uploaded.
Has anyone else had this problem?
I have Multiupload Filefield Widget and Multiupload Imagefield Widget instaled and I have plupload installed.
Thanks

gandhiano’s picture

I am getting the same problem after an upgrade of Open Atrium (2.26 > 2.33). Did you get around this problem or any tip somewhere?