Page MenuHomePhabricator

Enable ability to set width on images in blog posts on wikimediafoundation.org
Open, Needs TriagePublic

Description

Some blog posts include images need a max-width attribute or other method for limiting how big they can be displayed, particularly images with a portrait orientation (as opposed to landscape). For example, in the blog post "The anatomy of search: A token of my affection", the do-re-mi image (search on the page for "What about forty underscores in a row", it's right below that) is ridiculously large with a relatively wide screen (like a typical laptop might have) because it is a fairly narrow portrait-oriented image. Similarly the Telugu "killer characters" image (search for "crash on Telugu") is ginormous, and shouldn't ever be more than 150 to 200 pixels wide. The portrait of Captain Edward John Smith is similarly overly large.

Several images in "Confound it!"’ have the same problem. The Tower of Babel is barely reasonable, the "terror" image is way too wide, and the Traditional vs Simplified Chinese characters are huge.

A workaround would be to pad portrait images to make them effectively landscape, but that would look terrible on a mobile device.