galleries now display as bulleted lists

Jump to: navigation, search

We just upgraded from (I think) 1.4 to 1.18.1 (FYI: PHP 5.2.17 (cgi) MySQL 5.0.92-50-log )

Images within <gallery> tags now display as bulleted lists instead of galleries. Can't find anything in bugs, in release notes, in documentation about the gallery tag, etc.

Example page: http://www.bayteam.org/wiki/Gallery_of_dog_photos_by_breed

Can anyone direct me to info on what caused this to break & how to fix it? Thanks.

Elf02:36, 25 January 2012

Yes it changed to a list (which is more proper HTML and fixes other problems like max monitor width usage). But normally it looks like this: Help:Images#Gallery syntax

It's some of your CSS overriding the default.

Subfader13:33, 25 January 2012

We've hardly touched our CSS at all, and certainly not in this upgrade. Did the CSS change between releases? Again, I haven't found anything with instructions on why stuff that worked OK before would break, or how to fix it. The only CSS I see related to galleries is in our main. css and I don't see how this would have the effect. Sorry if I'm being dense; did no one else have this problem?

table.gallery {
        border: 1px solid #ccc;
        margin: 2px;
        padding: 2px;
        background-color: white;
}
table.gallery tr {
        vertical-align: top;
}
table.gallery td {
        vertical-align: top;
        background-color: #f9f9f9;
        border: solid 2px white;
}
table.gallery td.galleryheader {
        text-align: center;
        font-weight: bold;
}
div.gallerybox {
        margin: 2px;
        width:  150px;
}
div.gallerybox div.thumb {
        text-align: center;
        border: 1px solid #ccc;
        margin: 2px;
}
div.gallerytext {
        font-size: 94%;
        padding: 2px 4px;
}
Elf20:38, 25 January 2012

The gallery or MediaWiki is not broken that's why you see no notes about it.

Check your custom skin! I found CSS being included from wiki/skins/bayteam/

Subfader10:55, 26 January 2012

Hey, I've got the same problem, and I could not find any CSS being included in the main.css of my custom skin. Where do I have to look for the code that breaks the galleries? Thanks for any helpful comments!

91.89.143.3609:29, 30 January 2012
 
 
 
 
Personal tools

Variants
Actions
Navigation
Support
Download
Development
Communication
Toolbox