I recently updated my drupal theme and it has caused something to go wrong with the main media gallery layout.

The galleries no longer show as tiles along columns and rows as they did before - they appear as tiles that are each the full width of the page (see screenshot)
The individual galleries show as normal, it is just the main gallery page (the gallery of galleries I guess) that has this problem. The settings are still set to show in columns and rows.

Can anyone help me out? I've had a play with the css but not found anything.

#2 Screen shot 2011-10-19 at 2.54.25 PM.png183.64 KBsdk
Members fund testing for the Drupal project. Drupal Association Learn more


Corbey’s picture

Component: Code » Documentation

Moving here as I think it's an issue with Adaptive Themes.

sdk’s picture

I experience the same problem and not only with Adaptive Themes or subthemes.

Individual Galleries just look as they ought to but regardless what display is chosen in "Manage Displays" of Media Gallery, teasers appear unproportionally huge and just show one image.

Corbey’s picture

This has been bugging me for ages now! Hopefully someone will come up with something.

sdk’s picture

Media Gallery is the most advanced and intuitive module for handling images, so I want to stick with it in the future. Yet the display options are really not yet what they ought to be.

I usually use Galleria as display formatter for images. It should be possible to choose other formatters than just the hardcoded ones. Otherwise the problem occurs that one has to create another gallery content type to use the specific formatter with.

A temporary workaround for me is to use the views frontpage and switch from FORMAT>Content to FORMAT>fields and then customize the display by hand or switch alltogether to FORMAT>Content>Full Content instead of Teaser.

NancyDru’s picture

KirstenLangholz’s picture

Adding the following code to my theme css file did the trick for me:

.node-media-gallery.node-teaser { width: 25%; float: left; }

If you need four galleries in a row...

lsolesen’s picture

Category: bug » support
Status: Active » Fixed

As there is an answer, I am moving this to a support request and fixed. This seems to be a theme issue. Disagree, please make it active again.

Status: Fixed » Closed (fixed)

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

FrancescoUK’s picture

Version: 7.x-1.0-beta6 » 7.x-1.0-beta8
Status: Closed (fixed) » Active

I used in the past this fix:

.node-media-gallery.node-teaser { width: 25%; float: left; }

and worked fine with my installation.
However since I've updated to beta8 and re-applied the same change I can't set galleries view to columns and rows.

Any help?

FrancescoUK’s picture

OK, sorry, you really need to put that on line 385 after the {

don't know why.... I'm not a css expert :-(

Why can this be configurable?

Moloc’s picture

Do you still need this css code with beta8?
What theme do you use?

lsolesen’s picture

Status: Active » Postponed (maintainer needs more info)
FrancescoUK’s picture

Yes, I still need that css code to get things working properly.

I use Shoppica Commerce theme.

FrancescoUK’s picture

Status: Postponed (maintainer needs more info) » Active
Moloc’s picture

Status: Active » Closed (fixed)

The issue FrancescoUK has is #1333674: Conflicts with other modules so media_gallery_collection not called which creates Huge Images On Main Gallery Page. Lets fix the issue there.
Therefore i close this issue again.