Tardis:Infobox images: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
Tag: sourceedit
m (Protected "Tardis:Infobox images": re-confirming lockdown on policy pages (‎[edit=sysop] (indefinite) ‎[move=sysop] (indefinite)))
 
(13 intermediate revisions by one other user not shown)
Line 19: Line 19:


For portrait orientation, try to hit an aspect ratio of no less than .75.  Once you hit an AR of less than .5 (that is, your height is more than double your width), the infobox will become unnecessarily long on desktop, and it'll become so truncated on mobile as to be unhelpful.   
For portrait orientation, try to hit an aspect ratio of no less than .75.  Once you hit an AR of less than .5 (that is, your height is more than double your width), the infobox will become unnecessarily long on desktop, and it'll become so truncated on mobile as to be unhelpful.   
=== Consequences of extreme portrait orientation ===
Still, sometimes, comic images can be really challenging.  If you start getting into really low aspect ratios, then you end up with something like this.
[[file:HippocratesBaseMobile.jpg|thumb|left|See how little of this very much longer-than-wide image is seen on mobile? And note that it doesn't extend the whole width of the box.]]
<div style="float:left;margin-left:10px;">
{{Infobox Demo
|name=Hippocrates Base
|image=HippocratesBase.png
|caption= This is a ridiculously low aspect ratio, but one can argue that you need the whole of the frame.
}}
</div>
{{clear}}
=== Improving portrait cropping ===
Luckily, even modest improvements in cropping can help a lot. In the examples below, we took the image above and got its aspect ratio back over the .5 threshhold. The image still isnt' 420px, so on mobile it doesn't extend the whole width of the display. But, on mobile, it's at least giving us a clear idea of what the base looks like.
<div style="float:left;margin-left:10px;">
[[file:HippocratesBaseMobileTruncated.jpg|thumb|left|Sure, it still doesn't extend the width of a 420px phone display, but truncating the image to a .64 AR makes the subject show up much better on a phone]]
</div>
<div style="float:left;margin-left:10px;">
{{Infobox Demo
|name=Hippocrates Base
|image=HippocratesBaseTruncated.jpg
|caption= This image is still below the 420px minimum, but it has a much more palatable aspect ratio of .64
}}
</div>
{{Clear}}
=== Book and magazine covers ===
=== Book and magazine covers ===
Obviously, book and magazine covers are naturally portrait oriented, unless the book itself has a very odd shape. Make your image ''exactly'' fit the entire cover. It'll look fine on desktop -- and it'll be the best it can be in mobile environments.  In the case of covers, we want the whole thing, no matter what gets truncated on mobile.
Obviously, book and magazine covers are naturally portrait oriented, unless the book itself has a very odd shape. Make your image ''exactly'' fit the entire cover. It'll look fine on desktop -- and it'll be the best it can be in mobile environments.  In the case of covers, we want the whole thing, no matter what gets truncated on mobile.
Line 29: Line 54:
This rule definitely should not be taken to mean, "Kill all the < 420px images." Obvious exception should be taken for images that really can't be blown up any more. Some characters are so minor as to not be dominant in a frame, no matter how hard you try.  And if the image comes from a low-resolution 1960s programme -- or a [[Polystyle]] comic strip -- it can be even more challenging.  But you should at least ''try'' to meet the 420px before giving up.  And if you can't hit the 420px threshhold, you should leave {{tlx|narrow pic}} on the filepage that you can't figure out how to make the pic work better.
This rule definitely should not be taken to mean, "Kill all the < 420px images." Obvious exception should be taken for images that really can't be blown up any more. Some characters are so minor as to not be dominant in a frame, no matter how hard you try.  And if the image comes from a low-resolution 1960s programme -- or a [[Polystyle]] comic strip -- it can be even more challenging.  But you should at least ''try'' to meet the 420px before giving up.  And if you can't hit the 420px threshhold, you should leave {{tlx|narrow pic}} on the filepage that you can't figure out how to make the pic work better.


A good example of a < 420px that should be tagged and kept is [[:file:Andric.jpg|this pic of the minor companion, Andric]].
Good examples of < 420px pics that should be tagged and kept are:
 
* [[:file:Andric.jpg]]
* [[:File:CellGuard(FrontierInSpace).jpg|CellGuard(FrontierInSpace).jpg]]
However, if the source material would obviously and easily allow for an image of a greater size to be taken, admin are at complete liberty to delete existing, smaller images without warning.   
However, if the source material would obviously and easily allow for an image of a greater size to be taken, admin are at complete liberty to delete existing, smaller images without warning.   


For instance, if an image of [[Sarah Jane]] from ''[[Pyramids of Mars]]'' were 250px, it could be safely and immediately deleted. It's obviously possible and easy to get a better screenshot from a DVD these days.
For instance, if an image of [[Sarah Jane]] from ''[[Pyramids of Mars]]'' were 250px, it could be safely and immediately deleted. It's obviously possible and easy to get a better screenshot from a DVD these days.

Latest revision as of 17:55, 25 May 2017

Choose Infobox images wisely. And make 'em at least 420px wide, please.

Infobox pictures should be the best possible illustration of the subject of the article, across mobile, desktop and app views of our wiki.

Mobile is when everything changes, and we've got to be ready.

Portable infobox code allows the infobox image to be as wide as the device on which it's viewed. Ironically, this means infobox pictures can be bigger on phones than they are on desktop!

For the benefit of our sizable mobile audience, infobox images should have a minimum natural width of 420px wide. This allows the infobox code to automatically resize the picture so that it will fill the width of most phone screens. See the difference, below, between an image that's naturally 301px and one that's 420px.

See how Arthur Darvill completely fills the space, creating a bold "hero image", against which the article title can be easily read.

Widescreen preferred

Furthermore, it's preferred that images be cropped to a widescreen aspect ratio. For best results, and relatively easy math, a good one to use is the AR of BBC Wales programming in general: 1.77:1. So, if you're aiming for a 420px width, you know that your height would be 420 / 1.77, or 237px. A pic that's 420px wide x 237px tall will fit these requirements. Make a blank template with those dimensions in an image editor, and you can easily achieve exactly the right size, every time. Easy!

To help future proof against ever-widening phones, it's not a horrible idea to go for 500px widths. If you did, then your height would be 282px.

Portrait guidelines

While widescreen images are certainly preferred, we know there are times where a widescreen image just isn't possible. Some comic panels, for instance, are portrait-orientated, making it hard to get a widescreen image. Even so, if your aspect ratio is really small (meaning that the picture has significantly more height than width), you can test the limits of what the infobox code can handle.

For portrait orientation, try to hit an aspect ratio of no less than .75. Once you hit an AR of less than .5 (that is, your height is more than double your width), the infobox will become unnecessarily long on desktop, and it'll become so truncated on mobile as to be unhelpful.

Consequences of extreme portrait orientation

Still, sometimes, comic images can be really challenging. If you start getting into really low aspect ratios, then you end up with something like this.

See how little of this very much longer-than-wide image is seen on mobile? And note that it doesn't extend the whole width of the box.

Improving portrait cropping

Luckily, even modest improvements in cropping can help a lot. In the examples below, we took the image above and got its aspect ratio back over the .5 threshhold. The image still isnt' 420px, so on mobile it doesn't extend the whole width of the display. But, on mobile, it's at least giving us a clear idea of what the base looks like.

Sure, it still doesn't extend the width of a 420px phone display, but truncating the image to a .64 AR makes the subject show up much better on a phone

Book and magazine covers

Obviously, book and magazine covers are naturally portrait oriented, unless the book itself has a very odd shape. Make your image exactly fit the entire cover. It'll look fine on desktop -- and it'll be the best it can be in mobile environments. In the case of covers, we want the whole thing, no matter what gets truncated on mobile.

Hold on a second ...

Longtime editors of the site will see the immediate challenge of this requirement. For around a decade, we had a rule that said the natural width of an image had to be at least 250px. So we've built up a library of images that are smaller than 420px. Does this mean that previously "law abiding" images will be summarily deleted?

No. And yes.

This rule definitely should not be taken to mean, "Kill all the < 420px images." Obvious exception should be taken for images that really can't be blown up any more. Some characters are so minor as to not be dominant in a frame, no matter how hard you try. And if the image comes from a low-resolution 1960s programme -- or a Polystyle comic strip -- it can be even more challenging. But you should at least try to meet the 420px before giving up. And if you can't hit the 420px threshhold, you should leave {{narrow pic}} on the filepage that you can't figure out how to make the pic work better.

Good examples of < 420px pics that should be tagged and kept are:

However, if the source material would obviously and easily allow for an image of a greater size to be taken, admin are at complete liberty to delete existing, smaller images without warning.

For instance, if an image of Sarah Jane from Pyramids of Mars were 250px, it could be safely and immediately deleted. It's obviously possible and easy to get a better screenshot from a DVD these days.