I need to be able to upload batchs of images at a time, just like any decent photo uploader that's been around for a while - Flickr, Facebook - allows selecting multiple images from the local file system for uploading at the same time. Progress meter shows uploads in progress. media_gallery module in Drupal provides all this admirably.

However media_gallery currently requires media module version 1.x but Panopoly uses 2.x. There is a known issue to get media_gallery to use media 2.x:
"Make media_gallery work with media-7.x-2.x branch"
http://drupal.org/node/1244204

So the options would be

  • Wait for a fix for http://drupal.org/node/1244204 issue to be fixed so that media gallery will work with media 2.x
  • Help fix the issue - show me how? What PHP development environment/IDE debugger do you use? I'll help by stepping through the code if I know how to set up a Drupal build in an IDE/remote debug on my local MAMP stack- I have Komodo IDE 7 full license, I could also buy PHPStorm or PHPEd - whatever is quickest and easier to setup (I heard Eclipse is another option, but a pain to set up, tried Netbeans, stumbled at the start with dependencies to deal with - not a great motivator!...)
  • Downgrade Media in Panopoly to 1.x to be able to use media_gallery - will this work with the dependent Panopoly modules?
  • Disable Panopoly modules that use Media if they don't work with Media 1.x (not a great option because there are quite a few Panopoly modules that use media - wsyiwyg, image (responsive functionality)... )

Just as I thought I was getting somewhere with building a great publishing Drupal site: great multiple/batch image uploader in media_gallery - check! Great layout system in Panopoly - check! Then try to throw them together - fail! Another one of my failed Drupal episodes. Now into reverse gear yet again, to backout and try some other approach (but still within Drupal, though)...

Panopoly claims to be a distribution that can combine with others and/or be the basis of distros. This is a great aim but a must-have is easy uploading of multiple images just like on the major social networks.

Comments

populist’s picture

Status: Active » Closed (won't fix)

I hear you on the need to allow for bulk uploading of images! In terms of advice, my recommendation is to keep watching #1244204: Make media_gallery work with media-7.x-2.x branch since that is going to be your best bet. Panopoly is unlikely to work with Media 1.0 so getting Media Gallery in 2.0 is best.

If you want to agitate, there is a big media sprint coming up this weekend and you should mention the Media Gallery module #1817164: Brainstorming & priorities planning for the Drupalcamp Atlanta 2012 Code Sprint in that thread. In terms of helping with a patch, that sounds great. Here is the documentation page on how to do that (http://drupal.org/node/1054616) for sure.

For now, closing this issue as won't fix since this is a Media module issue but it looks like it is moving forward.

therobyouknow’s picture

@Populist - thanks for your follow-up! Thanks for the clear direction on media with panopoly: Media 2.x with panopoly is understood and for the encouraging words on it moving forward. I will have to be a little patient. Maybe I won't have to wait too soon: Taking up your suggestion (thanks) I have "agitated" and posted in that thread: http://drupal.org/node/1817164#comment-6642010

EDIT:
It is important to also consider the migration path for people already using media 1.x with media_gallery who would wish to move to media 2.x with media_gallery:
added two issues here:
media: http://drupal.org/node/1822012
media_gallery: http://drupal.org/node/1822018

I suggest a content export and re-import utility for this migration.

As for helping out I am UK-based but I believe Drupal UK/Drupal London were thinking of running a drop-in sprint on this weekend Saturday 27 October which nearly coincides with your event in Atlanta on Friday October 26th. Google Hangout perhaps?

I will talk to the guys here in UK about it and see what we can do to help. Our event is here: http://www.drupal.org.uk/event/drupal-drop-sprint-london-october-2012/27...

therobyouknow’s picture

Further question @populist - if this weekend's Atlanta code sprint doesn't fix this issue, then what alternatives are there to having image galleries in panopoly. I would be happy to have something quick-and-dirty as long as it isn't single image uploading repeated over and over via the Drupal web-interface. A workaround to suit me would be to be able to FTP the gallery into the Drupal files folder, then run a script to populate the drupal MySQL database to make these available from, say, Views.