I would like to see a way you can upload several pictures at once to a gallery instead of having to select each one individually. There may be a way and I am not seeing it. If you have a suggestion, please let me know. thanks!

Comments

drupalninja99’s picture

Status: Active » Fixed

My favorite tool is SWF Upload: http://drupal.org/project/swfupload. You do have to download an external library but that is what I've used in the past and it works really well. It lets you select multiple pics at a time.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

StephenBrown’s picture

Version: » 7.x-1.x-dev
Status: Closed (fixed) » Active

SWF Upload does not have a Drupal 7 version, so that is not a good solution, especially now that the 6.x version of OpenChurch is deprecated.

Are there any other modules that might work well with OpenChurch without too much tweaking?

drupalninja99’s picture

Hmm I am looking around and I don't think there are any bulk image uploaders for Drupal 7.

I would think it might be a better solution to use a 3rd party service like Flickr maybe and then integrate that with OpenChurch. There is a flickr module for D7: http://drupal.org/project/media_flickr

StephenBrown’s picture

I prefer actually to keep images local if possible, the galleries work well as they are, it's just that uploading one picture at a time is tedious.

A search for "multiple file upload" on d.o filtered by modules reveals nearly 1150 results. (http://drupal.org/search/apachesolr_search/multiple%20file%20upload?filt...)
Filtering just for "File management" modules limits it to 87 results though. (http://drupal.org/search/apachesolr_search/multiple%20file%20upload?filt...)
Maybe File Picker (http://drupal.org/project/filepicker) could be used? It appears that it does have a Bulk Import option, but that may be just for local files... (Or FTP and SSH) Hmm.
Edit: There is also a "Multiple Uploads" option I missed before, with the option to upload up to 6 files. Still not sure how well this integrates into the Gallery feature, as it's a view and a nodequeue (I think)...

Though Flickr integration might be nice due to their focus on photo sharing, it looks like the Flickr module just allows embedding of a flickr slideshow?

drupalninja99’s picture

Ya not sure, I would still think using a 3rd party would be better since they have a lot of good multiple upload tools

StephenBrown’s picture

As far as options go, File Picker could be a good solution. I installed it in the openchurch install I've got and played around with it a little bit.

Unfortunately it shows up in the Gallery as it's own section, and it's completely blank. :-/

3rd party or no, I've got all the images uploaded to my site now, so I've no need for it, so long as I don't have to wipe the install and start over. :-p

drupalninja99’s picture

I am not sure the file picker dose what you think it does? And if file picker works why not image picker? Arent they related modules?

StephenBrown’s picture

Mm. Probably not then. Image Picker would be the logical choice, but I'm not sure it's what we want either. It does have some nice features, maybe integration later on in the roadmap, but not high priority. It works as it is now, so that's fine by me.

drupalninja99’s picture

Priority: Major » Minor
Status: Active » Needs work

Maybe you can go ahead and try it out? I think this is going to have to be classified as a minor issue for the time being.

StephenBrown’s picture

Agreed that this is a minor issue. I'll try a few things out.

Poking around some more (after hearing plupload mentioned in one of the sessions at DrupalCon) led me to some interesting places.

First, there's a wiki about multiple upload:
Multiple file upload for node - http://groups.drupal.org/node/155764

And there's a wiki for file upload and management in general:
File Uploading and Managing - http://groups.drupal.org/node/20291

These bring the list of modules for Drupal 7 way down to a more managable experiment group:

File Uploading and Managing
Media, ElFinder, Take Control, FileDepot, Storage API

Automatic Filesystem Structuring
FileField Paths, Media Mover

Multiple file upload for node
Plupload integration, Plup, Multiupload Filefield Widget, Multiupload Imagefield Widget

Of those, it looks like the Media module is the most comprehensive (and probably overkill for OC), the Plupload module looks like an excellent replacement for SWFUpload, and the "Multiupload" field widgets look to be the simplest options.

I'll ask for thoughts tomorrow and look into it more over the weekend when I have some time.

drupalninja99’s picture

Wow http://drupal.org/project/plupload looks awesome and it has pretty high usage (10k+ sites). Have you downloaded that yet to try it out? I am not sure whether or not we need that as part of the OC package but that might be perfect for what you're wanting. Let me know if that works well. Good research!

Anonymous’s picture

For our Intranet, we use Multiupload Filefield Widget and Multiupload Imagefield Widget to accomplish this.

Filefield: http://drupal.org/project/1115362
Imagefield: http://drupal.org/project/multiupload_imagefield_widget

Anonymous’s picture

NOTE: Media is a GREAT backend media management module. The last I knew, however, it did NOT support multiple file upload.

StephenBrown’s picture

@gr8britton Yeah Media is very comprehensive for all sorts of media (especially interesting is the online media integration), and by default may not handle multiple upload, but being a good modular... module that it is, it says it integrates with things like Plupload for that and other features.

How well do the Multiupload widgets work for you? They look fairly simple to set up. I don't know how they would integrate into the nodequeue, but right now I assume that each image that's uploaded creates its own node anyways. (Which, I think Plupload does, each image is it's own node)

@drupalninja I think it would be good to have, especially if site admins are going to be uploading content, since the interface in general is very nice, and it does have other features (And doesn't have to be flash! Yay HTML5! /soapbox )

drupalninja99’s picture

So @stephen, is your recommendation that we enable the pupload module by default? Does it require a 3rd party download? If so it would have to be white listed. If you can just do a little leg work to verify, I might be able to add that in.

StephenBrown’s picture

Well, that does look like the best solution. And it is a 3rd party library, but this is from the project page:

Plupload is a GPL licensed multiple file uploading tool that can present widgets in Flash, Gears, HTML 5, Silverlight, BrowserPlus, and HTML4 depending on the capabilities of the client computer.

Drupal 7 version provides Plupload library and form element. You only need the 7.x version if another module tells you to download it.

However, I would like to hear back from @gr8britton as to their use of the Multiupload widgets, as all they require are the core file and image modules, using HTML5's "multiple" attribute. The only thing with that though is browser support (i.e. works in everything but IE):

Known browsers to work with: Firefox 3.6, Chromium 10, Opera 11.01.
As no version of IE supports the 'multiple' html5 attribute, I'm pretty sure that it does not work with IE.

If I were to make a decision right now I'd say go with Plupload no problem.

StephenBrown’s picture

A note: If you're going to add Media (referring to http://drupal.org/node/1489956#comment-5763042), Plupload ties in nicely with that, so another reason to consider.

drupalninja99’s picture

Status: Needs work » Needs review

Committed plupload to dev, testing. I switched the gallery image field to 'media' but i dont get the fancy upload widget there, only on the main media page.

drupalninja99’s picture

This is working well on my local box after testing with build-openchurch.make. I am having other layout issues with fusion bc I think the dev version is now broken but I am changing to a stable version in another ticket so I can track progress on that item there.

StephenBrown’s picture

Sounds good. I'm not sure the 'media' field type is the one to use, for plupload it says that the field type it adds is called plupload.

By 'working well' do you mean you now see the fancy upload widget on the gallery page?

drupalninja99’s picture

oh okay, i didn't see a field type plupload, I will need to look further.

drupalninja99’s picture

Is there another module I need to upload other than plupload? I dont see a new widget on the content type page.

StephenBrown’s picture

I'm not sure. I'm just looking at the README.txt for the 7.x-1.0-rc1 release here: http://drupalcode.org/project/plupload.git/blob/147d5ee39262c2b252457183...

I haven't installed it myself yet so maybe it's misleading.

drupalninja99’s picture

Ya you can check the latest version in dev (the OC theme has a non-related fix that might not be there unless you get it from head).

The gallery now uses the 'media file selector' which is more appropriate but for whatever reason the drag/drop widget that plupload isn't there. It is still helpful tho as you can go to admin/content/media and click 'add file' and you will get the plupload widget.

Once you do that then on the gallery page you just select them from the media widget.

Still not as easy as having that widget on the gallery page itself though. Not sure if there is another module or something that adds the plupload widget as a file field widget type.

StephenBrown’s picture

Well it looks like Plup does just that. I didn't recommend it initially because it seemed like the Plupload module did the same thing but I guess not. There are several modules in sandboxes for this, mentioned on the Plupload project page, Plup is the only one that's been promoted to a full project so far.
From the Plup project page:

It provides a field widget for image field that allow user to upload multiple images at once using Plupload library.
...
Planned features include:
File field widget
...
Notes:
Plup has it's own persmission. Non-admin users won't be able to upload files without it. Due to security issues anonymous users are not able to upload images even if user access is set properly.
Also note that Plup does not depend on Plupload module but can be running simultaneously without problem.
Do not post patches. They won't be commited.
This module is developed for special environment therefor feature suggestions will most probably not be implemented.

Hopefully this will be the last piece of the puzzle as I dislike overloading a profile with modules if it's not necessary. However, I'm excited to have the Media integration. That should make things much easier in the long run.

drupalninja99’s picture

Ya it is pretty nifty, I went ahead and rolled it in. It worked in my initial test, I will try an end to end test.

drupalninja99’s picture

OK this is working now. The OC theme (dev version) still hasn't been update by D.O.'s packager so that may look a little strange until it gets updated in the next few hours.

StephenBrown’s picture

Cool. Good to hear. I'll grab that tonight and start playing around with it.
Now, depending on your decision, you may even be able to replace/update the OpenChurch Gallery feature with Media Gallery.

Of course, that should probably wait until this scary warning goes away:

Development status
Media Gallery is in BETA status. We don't recommend using it on production sites, unless you're able to tolerate bugs, and you maintain frequent database backups of your site.

Anonymous’s picture

I will look into this and see if it works.

Re: the warning...I have been running Media and MediaFront on a LIVE Intranet with over a dozen different departments since last August. WORKS like a charm. The only problem I had was that I had to use the multi-file upload widget, rather than the media widget, to allow multi uploads.

AFter I have a chance to try plupload, I'll let you know.

drupalninja99’s picture

Ya try the latest dev version which has plupload, it is pretty slick. I wonder ab like ipad compatibility though - I wonder if it works on ipad.

StephenBrown’s picture

@gr8britton: Looks like Media itself is great, and I'm glad to hear it's quite stable, but the warning is about the Media Gallery project (http://drupal.org/project/media_gallery) which apparently had some issues with Media beta4+, but those seem to have been fixed. I guess they just haven't updated the project page yet.

@drupalninja: I'm guessing since it uses HTML5 if possible that it could work on the iPad. I don't have one to test with. Have you tried with yours yet?

drupalninja99’s picture

Status: Needs review » Fixed

Ya ipad compatibility is low-pri at this stage, so I will worry ab that later on. This is working in dev

Anonymous’s picture

@StephenBrown: Sorry about that. Was on my phone when responding and must not have read that correctly.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.