Topic on Talk:Requests for comment/Standardized thumbnails sizes

Snapping to an approved size without client side scaling

2
Mattflaschen (talkcontribs)

An option discussed briefly in person (and I believe on the Etherpad) today was to snap to an approved size without client-side scaling. In other words, if you put:

[[File:some-image.jpg|thumb|199px]]

you get something like:

<img width="200" height="244" src="some-image-200px.jpg>

The 199 is silently treated as 200 everywhere. This can definitely still affect layouts (particularly when the difference is greater), but will not cause new client-side scaling.

This post was posted by Mattflaschen, but signed as Superm401.

Brooke Vibber (talkcontribs)

That probably won't work well when trying to use fixed vertical sizes matched on different widths (think of photo galleries, perhaps?), or small sizes where slight pixel counts will dramatically change the size.

Reply to "Snapping to an approved size without client side scaling"