Page MenuHomePhabricator

Improve size of gallery images: Fix issues with the “packed” mode in galleries
Open, Needs TriagePublic

Description

This ticket is tagged as Need-volunteer, e.g. to be tackled during the Wikimania Hackathon 2017.

Origin: This is a wish from the German Community Wishlist Survey 2017. It did not get voted as a top wish, but because it is a rather small, independent project, it’s recommended for volunteer developers, e.g. to be tackled during the Wikimania Hackathon 2017.

Original wish (German): https://de.wikipedia.org/wiki/Wikipedia:Umfragen/Technische_Wünsche_2017/Mediendateien#Dia-Rahmen_bei_Galeriebildern_entfernen.

Problem: As a default ("traditional mode"), gallery images have big borders that make them look like diapositives. This makes the images smaller than necessary and uses up too much space. To enable bigger gallery images with a smaller border, the “packed” gallery mode can be used. See https://www.mediawiki.org/wiki/Help:Images#Rendering_a_gallery_of_images for the different gallery modes

One way to deal with this problem could be to change the default mode to "packed" mode. Before this can happen, these two problems with the "packed" mode need to be tackled:

  1. The closed layout of the packed mode gets destroyed when there are images or info boxes at the side of the page, or when in case of smaller screen resolutions page elements are being pushed to the side of the page.
  2. Images in portrait mode are too small in packed mode.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

If anyone wan't to hack on this but need's help finding where to start, whom to speak with or similar – starting this week there is now a weekly Technical Advice IRC meeting open for all volunteer developers: https://www.mediawiki.org/wiki/Technical_Advice_IRC_Meeting