Hi everyone !
I'm experiencing an issue somehow important with media gallery, here it is :

- I've installed Media, Media Gallery, PLUPload Integration, MultiForm, MediaBrowserPlus (all in last 7.x versions). I've also installed Colorbox and PLUPload libraries (in sites/all/libraries and also in PLUPload module folder as I've read somethin about that in another issue).
- I also had Colorbox and Insert module installed (but I've disabled it, it didn't change the issue).

- SO : once I create a gallery, when I click on "Add Media", it opens media/browser?render=media-popup in a full window (not a pop-up), where not only PLUPload isn't available (I'm just able to select one file per upload), but where I can't add any content at all.
Indeed, when I click submit, nothing happens : the file isn't added to the media library, and isn't inserted in the gallery (whether it comes from the "upload", "web", or "library" tab).

Even more weird : PLUPload works as wonder on media/import.

After three hours trying to test each possibilities, I ask you if you please have a solution !?

Thks for reading (and helping ^^)!

EDIT: Oh, I've also noticed that README.txt mentions PLUPload v.1.4.3, but the available version now is 1.5 Could that be the problem?

Screenshot.jpg40.33 KBnyoz


nyoz’s picture

Not a single hint ? :'(

Andrea C’s picture

@nyoz: I'm facing the same problem on a clone of my production site that i'm trying to "convert" to Media and Media_Gallery. If I reinstall drupal from scrath, adding only the needed modules and some useful more, it works. For sure in the old installations there is some "dirty" to be cleaned

Andrea C’s picture

I found the solution working for me here: #1045502: Media Browser doesn't work without clean urls.
I enabled clean-url working on httpd.conf of my Apache 2.2. I choose to comment the "AllowOvveride None" directive in the main section, enabling the "AllowOverride All" inside the VirtualHost (see: http://drupal.org/node/15365)

mazenmardini’s picture


I believe this is a bug. Clicking on the "Cancel" button when adding media will give this error:

buttons[1] is undefined
Line 76

And now I'm talking beta7 btw.

mazenmardini’s picture

Version:7.x-1.0-beta6» 7.x-1.0-beta7
mazenmardini’s picture

Probably even closer to the cause:

$(".media-gallery-collection", context).once is not a function
Line 7
bjorndeclerck’s picture

I'm having exactly the same issue. I discovered that when I switch my theme (customize Zen theme) back to Garland, the gallery does display correctly.

So it seems that or the the theme or the module is incompatible with each other?

Using beta7, no Plupload installed.

mazenmardini’s picture

Thx Bjorn that you mentioned the theme you were using, hopefully this problem will be resolved. (Because it is undeniably a problem)

lsolesen’s picture

@bjorndeclerck what theme caused the problems?

lsolesen’s picture

Status:Active» Postponed (maintainer needs more info)
chris.hunter’s picture

When I use Bartik this works. When I go back to the custom theme I am developing this no longer works. Seems like a js library is no longer loading. The lightbox effect in the upload screen and in the viewer disappears when I am in my custom theme. Does anyone know if there is a particular js dependency for this to work?

Moloc’s picture

I just tried Zen 7.x-3.x, Zen 7.x-5.x, the latest Garland and a random choosen sports theme. The add media link works fine.

chris.hunter: can you check, which javascript files are loaded with bartik / your theme and list the difference?

lsolesen’s picture

Priority:Major» Normal
lsolesen’s picture

Status:Postponed (maintainer needs more info)» Closed (cannot reproduce)
heshanlk’s picture

This is not a bug on the Media gallery module and it's a common issue if you use a different theme (not the Bartik) with some JS files in your js/ folder to override the core drupal.js and jQuery.js.

Doneeo’s picture

Title:"Add media" link not fonctionning» "Add media" link not functionning
Status:Closed (cannot reproduce)» Fixed

There is a conflict with some different versions of jQuery.
Use the newest jQuery.

You could install the Jquery Update module.
Use the jquery js from the module via Google or Microsoft.

And delete your old Jquery package file.

I hope this will work for you.


Status:Fixed» Closed (fixed)

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

Anonymous’s picture

Issue summary:View changes

Added infos