The requirement for landscape images is to be at least 320px wide. The requirement for portrait images is more relaxed, only 250px high. Images that fall between these two requirements currently don't show a thumbnail, even if they could.
This request is about a very specific group of images:
- Square images from 250 x 250 to 319 x 319.
- Landscape images from 251 x 250 to 319 x 250.
- Landscape images from 319 x 250 to 319 x 318.
All these could be shown in portrait mode.
In this group, the most extrem ratio is 319 x 250. This will be cut to 203 x 250. I.e. the absolute extreme are 58px missing left and right, but never more.
Requested at https://www.mediawiki.org/wiki/Topic:Vwl97pm6as9fuf6k.
QA
Use patchdemo for verifying this in beta.
- Visit Sonic Adventure 2 article - i.e. https://patchdemo.wmflabs.org/wikis/bebc04f502/wiki/Sonic_Adventure_2
- Hover over "Sonic Adventure" in the bottom navbox.
Expected: a preview shows.
Compare to prod - https://en.wikipedia.org/wiki/Sonic_Adventure_2
Patch-For-Review: https://gerrit.wikimedia.org/r/636629
QA Results - Patchdemo
AC | Status | Details |
---|---|---|
1 | ✅ | T268999#7279046 |
QA Results - Prod
AC | Status | Details |
---|---|---|
1 | ✅ | T268999#7313465 |