Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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.
Comment | File | Size | Author |
---|---|---|---|
#2 | Screen shot 2011-10-19 at 2.54.25 PM.png | 183.64 KB | sdk |
Comments
Comment #1
Corbey CreditAttribution: Corbey commentedMoving here as I think it's an issue with Adaptive Themes.
Comment #2
sdk CreditAttribution: sdk commentedI 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.
Comment #3
Corbey CreditAttribution: Corbey commentedThis has been bugging me for ages now! Hopefully someone will come up with something.
Comment #4
sdk CreditAttribution: sdk commentedMedia 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.
Comment #5
NancyDruSee #1230090: .media-gallery-detail img should not have width 100%
Comment #6
KirstenLangholz CreditAttribution: KirstenLangholz commentedAdding 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...
Comment #7
lsolesen CreditAttribution: lsolesen commentedAs 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.
Comment #9
FrancescoUK CreditAttribution: FrancescoUK commentedI 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?
Comment #10
FrancescoUK CreditAttribution: FrancescoUK commentedOK, 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?
Comment #11
Moloc CreditAttribution: Moloc commentedDo you still need this css code with beta8?
What theme do you use?
Comment #12
lsolesen CreditAttribution: lsolesen commentedComment #13
FrancescoUK CreditAttribution: FrancescoUK commentedYes, I still need that css code to get things working properly.
I use Shoppica Commerce theme.
Comment #14
FrancescoUK CreditAttribution: FrancescoUK commentedComment #15
Moloc CreditAttribution: Moloc commentedThe 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.