Help talk:Gallery tag
Wikipedia Help NA‑class Mid‑importance | ||||||||||
|
|
|
This page has archives. Sections older than 14 days may be automatically archived by Lowercase sigmabot III when more than 4 sections are present. |
Improvement? edit
hi, traditional is a nice display:
- could an option being added to have hover & overlay option with it ?
- when a link= is set is there an option to open it in new windows ?
thanks for the good work ! ^_^
Frogg - 2015/04/24 11:29 Gmt+1 — Preceding unsigned comment added by 81.57.18.192 (talk) 09:30, 24 April 2015
Display problem edit
The width of the <div class=thumb> is usually just one device pixel wider than the image it contains, which makes a vertical line appear in the colour set by this bit of CSS:
#content .gallerybox div.thumb { background-color: #f8f9fa; }
I'm not sure what the use of that is. I think it's only intended to show up for transparent images, but wouldn't you want the overall page background to appear in that case? A transparent image in a gallery is likely to be a graph or an object with the background cut out, so if the background is off-white, wouldn't you use that?
To get back to why this is a problem... Although normally the line of pixels isn't that noticeable since it's very close in colour to the white page background, it does become very distracting if for some reason a custom background colour has been set on either the gallery tag itself or its parent element.
Is it possible to change the position of the caption in a gallery? This page doesn't explain whether this is possible. Jarble (talk) 20:11, 12 September 2023 (UTC)
- @Jarble: Yes, using
{{multiple image}}
, see above. --Redrose64 🌹 (talk) 23:05, 12 September 2023 (UTC)- {{Image frame}} appears to work also:
— Preceding unsigned comment added by Jarble (talk • contribs) 00:05, 13 September 2023 (UTC)
Adjusting margins between images edit
Unlike {{Multiple images}}, galleries in "packed" mode leave empty spaces between the images. Is it possible to display these images in a gallery tag without spaces between them? Jarble (talk) 16:04, 21 September 2023 (UTC)