Misplaced Pages

:Manual of Style/Images: Difference between revisions - Misplaced Pages

Article snapshot taken from[REDACTED] with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
< Misplaced Pages:Manual of Style Browse history interactively← Previous editContent deleted Content addedVisualWikitext
Revision as of 16:33, 25 January 2016 view sourceEEng (talk | contribs)Edit filter helpers, Autopatrolled, Extended confirmed users, New page reviewers, Pending changes reviewers, Template editors98,002 edits This is nothing but "how-to" material and has nothing to do with article style← Previous edit Latest revision as of 16:23, 28 December 2024 view source Lar (talk | contribs)Autopatrolled, Administrators29,174 edits Scale references: remove soda can entirely (see talk) as it's not a "universal" sized item, thus not a good reference 
(837 intermediate revisions by more than 100 users not shown)
Line 1: Line 1:
{{Short description|Wikimedia project page}}
{{For|wider information about images|Misplaced Pages:Images}}
{{For-text|help on how to insert images into articles|]|wider information about images on Misplaced Pages|]}}
{{MoS-guideline|MOS:IMAGES}}
{{pp-protected|reason=Persistent ]|small=yes}}
{{style}}
{{MoS-guideline|MOS:IMAGES|MOS:IMG}}
] contains millions of illustrative '''images''' and other ]. This page gives a very brief overview of how images are used in Misplaced Pages; for more information, see ] and see ] on how to upload and include an image.
{{style}}
This page gives an overview of how images are used in Misplaced Pages; for more information, see ] and see ] on how to upload and include an image.

==Choosing images== ==Choosing images==
===Pertinence and encyclopedic nature=== ===Pertinence and encyclopedic nature===
{{Shortcut|WP:IMAGE RELEVANCE|WP:PERTINENCE|WP:IRELEV}} {{Shortcut|MOS:IMAGEREL|MOS:IMAGERELEVANCE|MOS:PERTINENCE|MOS:IRELEV}}
] is nor what the ] looks like.]] ] over the ] shows neither adequately.|upright=0.8]]


Images must be relevant to the article that they appear in and be significantly and directly related to the article's topic. Because the Misplaced Pages project is in a position to offer ] to its audience, images are an important part of any article's presentation. Effort should therefore be made to improve quality and choice of images or captions in articles rather than favoring their removal, especially on pages that have few visuals. Images must be significant and relevant in the topic's context, not primarily decorative; each image in an article should have a clear and unique illustrative purpose. They are often an important ] to understanding. When possible, find better images and improve captions instead of simply removing poor or inappropriate ones, especially on pages with few visuals. However, not every article needs images, and too many can be distracting: usually, ].


{{Crossref|printworthy=y|See also {{section link|Misplaced Pages:Manual of Style/Icons#Encyclopedic purpose}} (]) on misuse of icons and other elements for decorative intent.}}
Images are primarily meant to inform readers by providing visual information. Consequently, images should ''look like'' what they are meant to illustrate, even if they are not provably authentic images. For example, a photograph of a '']'' painting of a cupcake may be an acceptable image for ], but a real cupcake that has been decorated to look like something else entirely is less appropriate. Similarly, an image of an unidentified cell under a ] might be useful on multiple articles, as long as there are no ''visible'' differences between the cell in the image and the typical appearance of the cell being illustrated.


Images should {{em|look like}} what they are meant to illustrate, whether or not they are provably authentic. For example, a painting of a cupcake may be an acceptable image for ], but a real cupcake that has been decorated to look like something else entirely is less appropriate. Similarly, an image of a generic-looking cell under a ] might be useful on multiple articles, as long as there are no {{em|visible}} differences between the cell in the image and the typical appearance of the cell being illustrated.
Articles that use more than one image should present a variety of material near relevant text. If the article is about a general subject for which a large number of good quality images are available, (e.g., ]), editors are encouraged to seek a reasonable level of variety in the age, gender, and race of any people depicted. Adding multiple images with very similar content is less useful. For example, three formal portraits of a general wearing his military uniform may be excessive; substituting two of the portraits with a map of a battle and a picture of its aftermath may provide more information to readers. You should always be watchful not to overwhelm an article with images by adding more just because you can.


Strive for variety. For example, in an article with numerous images of persons (e.g. ]), seek to depict a variety of ages, genders, and ethnicities. If an article on a military officer already shows its subject in uniform, then two more formal in-uniform portraits would add little interest or information, but a map of an important battle and an image of its aftermath would be more informative. Resist the temptation to overwhelm an article with images of marginal value simply because many images are available.
Poor quality images (too dark, blurry, etc.) or where the subject in the image is too small, hidden in clutter, ambiguous or otherwise not obvious, should not be used. Contributors should be judicious in deciding which images are the most suitable for the subject matter in an article. For example:

=== Ethnic groups ===

{{anchor|NOETHNICGALLERIES}}{{shortcut|MOS:NOETHNICGALLERIES|MOS:PEOPLEGALLERY}}Articles about ethnic groups or similarly large human populations should not be illustrated by a ] or ] of group members; see ] and ] thread for the most recent consensus discussion on the topic.

{{clear}}
=== Image quality ===
{{Shortcut|MOS:IMAGEQUALITY}}
Use the best quality images available. Poor-quality images—dark or blurry; showing the subject too small, hidden in clutter, or ambiguous; and so on—should not be used unless absolutely necessary. Think carefully about which images best illustrate the subject matter. For example:
* An image of a ] is useless if the bird appears as a speck in the sky. * An image of a ] is useless if the bird appears as a speck in the sky.
* ] looks best as a portrait photograph of herself alone, not with other individuals. * A biography should lead with a ] photograph of the subject alone, not with other people.
* A suitable picture of a ] would show its distinctive hammer-like head, to distinguish it from other species of shark. * A suitable picture of a ] would show its distinctive hammer-like head, to distinguish it from other sharks.
* A map of ] should show its frontiers with ] and ], so people may know where the country is located in relation to its neighbors. * A map of ] should show its frontiers with ] and ], so people may know where the country is located in relation to its neighbors.
* ] is best represented with an image of plain ], not ]. * ] is best represented with an image of plain ], not ].
* Intangible concepts can be illustrated; for example, a cat with its claws out portrays ]. * Intangible concepts can be illustrated; for example, two boars butting heads portrays ].


Pages using seals, flags, banners, logos, or other symbols to represent governments, organizations, and institutions should use the version prescribed by that entity when available. These are preferable to amateur creations of similar quality, including photographs of physical representations of emblems.
=== Avoid entering textual information as images ===

Do not use images to express textual information in place of real text. See ] for more.
===Avoid presenting textual information as images===
{{main|Misplaced Pages:Manual of Style#Avoid entering textual information as images}}

===Scale references===
{{shortcut|WP:FIDUCIAL}}
An image sometimes includes a familiar object to communicate scale. Such '']s'' should be as culturally universal and standardized as possible: ]s, ]es, ], ]s/]s, ] (soccer balls), people and their body parts, vehicles, and famous structures such as the ] are good choices, but many others are possible. Such objects as coins, banknotes, and sheets of paper are less satisfactory because they are specific to given locales, but may be better than none at all since at least the general scale is still communicated.

Quantitative data, if available, should still be given in the caption or the article.

{{gallery
|width=160 | height=170
|align=center
|File:Tick_male_size_comparison_(aka).jpg
|A ] (with a ]stick for scale)
|File:7.62x51 and 5.56x45 bullet cartridges compared to AA battery.jpg
|Ammunition (with an ])
|File:Emu_size.png
|]s (with a human silhouette and scale in meters)
}}
{{-}}


===Offensive images=== ===Offensive images===
{{Shortcuts|MOS:OMIMG}}
{{Main|Misplaced Pages:Offensive material}} {{Main|Misplaced Pages:Offensive material}}
{{See also|Misplaced Pages:Image blacklist}} {{See also|Misplaced Pages:Image blacklist}}{{Options to not see an image}}
Including information about offensive material is part of Misplaced Pages's encyclopedic mission. ]. However, images that can be considered offensive should not be included unless they are treated in an encyclopedic manner. Material that would be considered vulgar or obscene by typical Misplaced Pages readers<ref group=nb name=typical /> should be used if and only if its omission would cause the article to be less informative, relevant, or accurate, and no equally suitable alternative is available. Per ], controversial images should follow the principle of 'least astonishment': we should choose images that respect the conventional expectations of readers for a given topic as much as is possible without sacrificing the quality of the article. Avoid images that contain irrelevant or extraneous elements that might seem offensive or harassing to readers. For example, photographs taken in a pornographic context would normally be inappropriate for articles about ]. ]: its mission is to present information, including information which some may find offensive. However, a potentially offensive image—one that would be considered vulgar, horrifying, or obscene by typical Misplaced Pages readers<ref group=nb name=typical />—should be included only if it is treated in an encyclopedic manner, i.e. only if its omission would cause the article to be less informative, relevant, or accurate, and no equally suitable alternative is available. Images should respect conventional expectations of readers for a given topic as much as is possible without sacrificing the quality of the article. Avoid images that contain irrelevant or extraneous elements that might seem offensive or harassing to readers; for example, photographs taken in a pornographic context would normally be inappropriate for articles about ].


===Images for the lead=== ===Images for the lead===
{{shortcut|WP:LEADIMAGE|WP:IMAGE LEAD|WP:NOETHNICGALLERIES}} {{shortcut|MOS:LEADIMAGE|MOS:IMAGELEAD}}
{{See also|Misplaced Pages:Manual of Style/Lead section#Elements}}
It is very common to use an appropriate representative image for the lead of an article, often as part of an infobox. The image helps to provide a visual association for the topic, and allows readers to quickly assess if they have arrived at the right page. For most topics, the selection of a lead image is plainly obvious: a photograph or artistic work of a person, photographs of a city, or a cover of a book or album, to name a few.


It is common for an article's lead or infobox to carry a representative image—such as of a person or place, a book or album cover—to give readers visual confirmation that they've arrived at the right page.
Image selection for other topics may be more difficult and several possible choices could be made. While Misplaced Pages is not censored, as outlined in the above section on offensive images, the selection of the lead image should be made with some care with respect to this advice. Lead images are loaded and shown upon navigating to the page, and are one of the first things that readers will see. Editors should avoid using images that readers would not have expected to see when navigating to the page. Unlike other content on a page that falls below the lead, the lead image should be chosen with these considerations in mind.


For some topics, selecting the lead image can be difficult. While Misplaced Pages is not censored, lead images should be selected with care {{See above|{{section link||Offensive images}}, above}}. The lead image is perhaps the first thing to catch the reader's eye, so avoid lead images that readers would not expect to see there. Unlike other content beyond the lead, the lead image should be chosen with these considerations in mind.
Advice on selecting a lead image includes the following:
# Lead images should be images that are natural and appropriate visual representations of the topic; they not only should be illustrating the topic specifically, but should also be the type of image that is used for similar purposes in high-quality reference works, and therefore what our readers will expect to see. Lead images are not required, and not having a lead image may be the best solution if there is no easy representation of the topic.
# Lead images should be selected to be of least shock value; if an alternative image exists that still is an accurate representation of the topic but without shock value, it should always be preferred. For example, using an image of deportees being subjected to selection as the lead image at ] of ] is far preferable to the appropriate images that appear later in the article that show the treatment of the prisoners or corpses from the camps.
# Sometimes it is impossible to avoid the use of a lead image with perceived shock value if the topic itself is of that nature, for example in articles on various parts of human genitalia. It should be anticipated, through ], that readers will be aware they will be exposed to potentially shocking images when navigating to articles on such topics.
#Articles about ethnic groups or similarly large human populations should not be illustrated by a gallery of images of group members, because selecting them is normally ], and often contentious (see the ).


Advice on selecting a lead image includes:
The first image in an article, regardless of whether it is placed in the lead, will be enlarged and displayed at the top of all articles viewed in the Android mobile app. For example, if the first image in an article about ] is a person, then that person's picture will be displayed as if it were the lead image, even if the image displays at the end of the article in the desktop view. When selecting images for the article, consider whether the order of the images may inadvertently produce a non-neutral, unfair, or otherwise poor educational experience for readers who use mobile devices.
* Lead images should be natural{{Efn|''Natural'' means the obvious or usual type of image. For example, the natural choice for the lead image for an article about a person would be a drawing or photograph of that person, and the natural choice for the lead image for an article about an insect is a drawing or photograph of that insect. ''Natural'' does not mean ''casual'' or ''informal''.}} and appropriate representations of the topic; they should not only illustrate the topic specifically, but also be the type of image used for similar purposes in high-quality reference works, and therefore what our readers will expect to see. Lead images are not required, and not having a lead image may be the best solution if there is no easy representation of the topic.

* {{anchor|SHOCK}}{{shortcut|MOS:SHOCK|MOS:SHOCKVALUE}}Lead images should be of least shock value; an alternative image that accurately represents the topic without shock value should always be preferred. For example, using an image of deportees being subjected to selection as the lead image at ] of ] is far preferable to the appropriate images that appear later in the article that show the treatment of the prisoners or corpses from the camps.
===Life cycles of images===
* Sometimes it is impossible to avoid using a lead image with perceived shock value, for example in articles on human genitalia. Editors may assume, per ], that readers are aware that such articles may contain such images.
Eventually, some of the images reach the end of their life cycle. They may be superseded or replaced by an image with a friendlier copyright policy. If you come across an image that needs to be removed due to copyright, invasion of privacy, or other serious reasons, then list it on ]. However, superseded images should be kept to preserve Misplaced Pages's historical record. The history of articles can be difficult to assess if images and templates have been deleted over the years.
* Using photomontages or a gallery of images of group members ] in articles about ethnic groups or similarly large human populations. This does not apply to articles about things such as body parts or haircuts.

* On some mobile platforms an article's first image may be displayed at the top of the article, even if it appears well into the article in the desktop view. When placing images consider whether this phenomenon may mislead or confuse readers using mobile devices.
Conversely, if you have contributed or found an image that '''stands out from the crowd''', you are invited to ] it for inclusion on the ] list.


==How to place an image== ==How to place an image==
{{shortcut|MOS:IMGSYN|MOS:IMAGESYNTAX}}<!--this shortcut box somewhat earlier than normal to avoid collision of floating boxes, images, etc. -->
{{See also2|]}}
{{See|Misplaced Pages:Manual of Style/Accessibility#Images}}
{{see also|Misplaced Pages:Picture tutorial}}


==={{Anchor|Image syntax}}Syntax=== ==={{Anchor|Image syntax}}Syntax===
<!-- This Anchor tag serves to provide a permanent target for incoming section links. Please do not move it out of the section heading, even though it disrupts edit summary generation (you can manually fix the edit summary before you save your changes). Please do not modify it, even if you modify the section title. It is always best to anchor an old section header that has been changed so that links to it won't be broken. See ] for details. (This text: ]) --> <!-- This Anchor tag serves to provide a permanent target for incoming section links. Please do not move it out of the section heading, even though it disrupts edit summary generation (you can manually fix the edit summary before you save your changes). Please do not modify it, even if you modify the section title. It is always best to anchor an old section header that has been changed so that links to it won't be broken. See ] for details. (This text: ]) -->
] used as a pack animal]]
{{shortcut|WP:IMGSYN|WP:IMAGESYNTAX|MOS:IMAGESYNTAX}}
] used as a pack animal]]
''Basic example (producing the image at right):'' ''Basic example (producing the image at right):''
{{xt2|<code><nowiki>] used as a pack animal]]</nowiki></code>}} {{xt2|<code><nowiki>] used as a pack animal]]</nowiki></code>}}
*<code><nowiki>File:Siberian Husky pho.jpg</nowiki></code> The file (image) name must be exact, including capitalization and spacing, and must include <code>.jpg</code>, <code>.png</code> or other extension. (<code>Image:</code> and <code>File:</code> work the same.) If Misplaced Pages and Commons{{explain}} both have an image with the specified name, the Misplaced Pages version is used. *<code>File:Siberian Husky pho.jpg</code> The file (image) name must be exact (including capitalization, punctuation and spacing) and must include <code>.jpg</code>, <code>.png</code> or other extension. (<code>Image:</code> and <code>File:</code> work the same.) If Misplaced Pages and Wikimedia Commons both have an image with the specified name, the Misplaced Pages version is the one that will appear in the article.
*<code>thumb</code> is required in most cases *<code>thumb</code> is required in most cases
*<code><nowiki>alt=A white dog and a young boy playfully nuzzle</nowiki></code> ] is meant for those who cannot see the image; unlike the caption, it summarizes the image's ''appearance''. *<code>alt=A white dog in a harness playfully nuzzles a young boy</code> Alt text is meant for those who cannot see the image; unlike the caption, it summarizes the image's {{em|appearance}}. It should comport with ] and should name famous events, people and things.
*<code><nowiki>A ] used as a pack animal</nowiki></code> The ] comes last, and gives the meaning or significance of the image. *<code><nowiki>A ] used as a pack animal</nowiki></code> The ] comes last, and gives the meaning or significance of the image.


See ] for further features and options. If the image does not display after you have carefully checked the syntax, it may have been ].{{explain}} See ] for further features and options. If the image does not display after you have carefully checked the syntax, it may have been ].

====VR photographs====
{{shortcut|MOS:360}}
To display ]s ({{abbr|aka|also known as}} 360-degree panoramas or photospheres), use {{tl|PanoViewer}}.


===Size=== ===Size===
{{Shortcuts|MOS:IMGSIZE}} {{Shortcuts|MOS:IMGSIZE|MOS:UPRIGHT}}
{{see also2|]}} {{see also|Misplaced Pages:Image use policy#Displayed image size}}
*{{anchor|Image preferences}} Images adjacent to text ] the <code>|thumb</code> (]) or <code>|frameless</code> parameter, typically sized differently from the original.{{efn|The size of the original image can vary widely, depending on for example the resolution. Some images could take a whole 15 inches of space on a computer screen.}} The default image width then becomes 220 pixels (px), which {{em|registered}} (logged-in) users can change via ].<ref group=nb name=leave_pref/> The Siberian Husky image above is displayed at whatever {{em|your}} base width is.
*An image's size is controlled by changing its width{{mdashb}}after which software automatically adjusts height to maintain aspect ratio. (Most references to an image's "size" really mean its width.)
]
*{{anchor|Image preferences}}Each user has a "base" image width. For unregistered users ("IPs"), this is always 220 pixels. For registered users, the base width is initially 220px (when the user account is created) but this can be changed via ].<ref>If you work a lot with image layouts, consider leaving your preference at 220px to match the "reader experience" of most readers.</ref>
*Where a smaller or larger image is appropriate, use {{para|upright|''scaling factor''}}, which expands or contracts the image by a factor ''relative to the user's base width''. ]
*An image's size is controlled by changing its width{{snd}}after which software automatically adjusts height in proportion. (Most references to an image's "size" really mean its width.)
*Except with very good reason, a fixed width in pixels (e.g. <code>17px</code>) should not be specified, because it ignores the user's base width setting. Thus {{strong|{{nobr|1=<code>upright={{var|scaling factor}}</code>}} is preferred when it is desired to present an image at other than the default width}}.<ref group=nb name=corresp/> As a general rule, images should not be set to a larger fixed width than 220px (the initial base width), and if an exception to this general rule is warranted, the resulting image should usually be no more than 400px wide<!--this is 1.8*220--> (300px for lead images<!--This is 1.35*220-->) and 500px tall, for comfortable display on the smallest devices "in common use" (though this may still cause viewing difficulties on some unusual displays).
*{{anchor|sizetable}}To convert a <code>px</code> value to <code>upright</code>, divide it by 220 and round the result as desired. For example, {{para||150px}} is roughly equivalent to {{para|upright|0.7}} because {{nobr|150 / 220 ≃ 0.682{{thinsp}}.}}
** Cases where fixed sizes may be used include for standardization of size via templates (such as ] or the ]), for displaying reduced images sizes where space is constrained (such as images used in the ] and ] sections on the ], or within larger tables such as ]), or if it is necessary to align images in columns or rows. Templates like {{tl|multiple image}} can automatically match the height or width of images with different aspect ratios, though this height or width must be hard coded to a set number of pixels because it cannot scale images to respect users' preferences.
*Where a smaller or larger image is appropriate, use {{para|upright|{{var|scaling factor}}}}, which expands or contracts the image by a factor {{em|relative to the user's base width}}.
**For example: **For example:
***<code><nowiki>upright=1.3</nowiki></code> might be used for an image with fine detail (e.g. a map or diagram) to render it "30% larger than this user generally wants". ***<code>upright=1.3</code> might be used for an image with fine detail (e.g. a map or diagram) to render it "30% larger than this user generally wants". (For a reader with the usual base width setting of 220px, this is 285px.)
***<code><nowiki>upright=0.60</nowiki></code> might be used for an image with little detail (e.g. a simple drawing or flag) which can be adequately displayed "40% smaller than this user generally wants". ***<code>upright=0.6</code> might be used for an image with little detail (e.g. a simple drawing or flag) which can be adequately displayed "40% smaller than this user generally wants". (For a reader with the usual base width setting of 220px, this is 130px.)
**"Landscape" images (short and wide) often call for <code>upright</code> greater than 1; "portrait" images (tall and narrow) may look best with <code>upright</code> less than{{nbsp}}1 (often 0.75). **Short, wide images often call for <code>upright</code> of 1 or greater; tall, narrow images may look best with <code>upright</code> of 1 or less.
**When specifying <code><nowiki>upright=</nowiki></code> values greater than 1, take care to balance the need to reveal detail against the danger of overwhelming surrounding article text. **When specifying <code>upright=</code> values greater than 1, take care to balance the need to reveal detail against the danger of overwhelming surrounding article text.
***Images in which a small region of detail is important (but cropping to that region is unacceptable) may need to be larger than normal, but <code>upright=1.8</code> should usually be the largest value for images floated beside text. ***Images in which a small region of detail is important (but cropping to that region is unacceptable) may need to be larger than normal, but <code>upright=1.8</code> should usually be the largest value for images floated beside text.
***{{anchor|LEADIMGSIZE}}Lead images should usually use <code>upright=1.35</code> at most.
***If a larger value is used (e.g. for panoramas), then use <code>]</code> or <code>]</code> at the same time, so that the image stands alone. Or use {{tl|wide image}} or {{tl|tall image}} to present a large image in a scrollable box.
**Images within an article, especially those near one another and on the same side, may be more appealing if presented at the same width.
***Lead images should usually use <code>upright=1.35</code> at most.
**If <code>upright</code> is completely absent, that's equivalent to <code>upright=1</code>. But <code>upright</code> <u>alone</u>, with no {{nobr|1=<code>={{var|scaling factor}}</code>}} (e.g. {{nobr|<code><nowiki>]</nowiki></code>)}} is equivalent to <code>upright=0.75</code>; this usage is confusing and therefore deprecated. Historically, "upright" was intended for upright (portrait) images, which look better at a narrower width. Later, the parameter was expanded to support any scaling factor, but the original name remained.
**Images within an article, especially those vertically proximate to one another, may be more appealing if presented at the same width.
*To present images larger than the guidelines above (e.g. panoramas), use <code>|thumb|]</code> or <code>|thumb|]</code>, so that the image stands alone; or use {{tl|wide image}} or {{tl|tall image}} to present a very large image in a scrollable box.
*Where absolutely necessary, a fixed width in pixels (e.g. <code>20px</code>) may be specified. '''This should be done only where absolutely necessary''' because it ignores the user's base width preference. The resulting image should usually be no more than 400px wide<!--this is 1.8*220--> (300px for lead images<!--This is 1.35*220-->) and 500px tall, for comfortable display on the smallest devices "in common use" (though this may still cause viewing difficulties on some unusual displays).
]

{{reflist|title=Notes}}


===Location=== ===Location===
{{see|Misplaced Pages:Image use policy#Placement}}
{{Shortcuts|MOS:IMAGELOCATION|WP:IMAGELOCATION|WP:IMGLOC}}
{{Shortcut|MOS:IMAGELOC}}
Images should not be placed in the middle of paragraphs. An image within a paragraph forces the rendered text to break at that point, causing a disruption of text flow and problems for any readers whose browsers do not display images.
] used as a pack animal]]
Most images should be on the right side of the page, which is the default placement.<ref group=nb name=left/> Left-aligned images may disturb the layout of bulleted lists and similar structures that depend on visual uniformity, e.g. by pushing some items on such lists further inward. Hence, avoid left-aligned images near such structures. If an exception to the general rule is warranted, specify <code>|left</code> in the image link: <code><nowiki>] used as a pack animal]]</nowiki></code>.


{{anchor|Section|SECTION|SECTIONLINK}}
====Horizontal placement====
{{Shortcuts|MOS:SECTIONLOC}}
* In most cases, images should be right justified on pages, which is the default placement. If an exception to the general rule is warranted, forcing an image to justify on the left side of a page is done by placing a parameter in the image coding in the form <code>|left</code>, for example:
An image should generally be placed in the ]; if this is not possible, try not to place an image too early, i.e., far ahead of the text discussing what the image illustrates, if this could puzzle the reader. The first image of a section should be placed below any hatnote (typically a ] in the form of {{tlx|Main}}, {{tlx|Further}} and {{tlx|See also}} templates). Do not place an image at the end of the previous section as this will not be visible in the appropriate section on ]. An image causes a paragraph break (i.e., the current paragraph ends and a new one begins) so it is not possible to place an image {{em|within}} a paragraph. This applies to <code>thumb</code> images; small inline images are an exception {{see below|mid=y|]}}.
{{xt2|<code><nowiki>]</nowiki></code>}}
* Multiple images in the same article can be staggered right-and-left. However, avoid sandwiching text between two images that face each other, or between an image and infobox, navigation template, or similar. If multiple related images are being placed on the right, then the {{tl|multiple image}} template may be useful.
* In a few web browsers, bulleted lists overlap with left-aligned images. It may be preferable to avoid placing a left-aligned image near lists.


{{anchor|Sandwich|SANDWITCH}}{{Shortcuts|MOS:SANDWICH}}{{-}}
It is often preferable to place images of people so that they "look" toward the text. (Do not achieve this by reversing the image, which creates a false presentation e.g. by reversing the location of scars or other features.)
]
]
{{shy<!--extreme hyphenation to enhance sandwiching effect-->|Mul|ti|ple im|ages can be stag|gered right and left. How|ever, a|void sand|wich|ing text be|tween two im|ages hor|i|zon|tally op|po|site each other; or be|tween an im|age and an in|fo|box, nav|i|ga|tion tem|plate, or sim|i|lar. As an al|ter|na|tive, con|sid|er us|ing the {{tl|multiple image}} tem|plate, which pla|ces two im|ag|es to|geth|er on the right (but which, how|ev|er, ig|nores}} ]). {{shy|If the sec|tion has mul|tiple rele|vant para|graphs, you can also move one image to an|other place in the sec|tion.}} {{crossref|pw=y|{{shy|(See ] for in|form|ation on the u|se of multip|le im|ages}}.)}}{{-}}


====Vertical placement==== ====Portrait ====
{{anchor|Portrait|PORTRAIT}}
An image should generally be placed in the most relevant article section. Avoid referring to images as being to the left/right, or above/below, because image placement varies with platform, and is meaningless to people using screen readers; instead, use captions to identify images.
{{Shortcuts|MOS:PORTRAIT}}
It is often preferable to place a portrait {{small|(image or representation of a person)}} so that they "look" toward the text, but do not achieve this by reversing the image, which creates a false presentation. (Faces are never truly symmetric even in the absence of scars or other features.)


====<span id="References from article"></span>References from article text====
==Making images available==
{{Shortcuts|MOS:SEEIMAGE}}
{{selfref|For further information, see: ], ] as well as ]}}
Image placement varies with platform and screen size, especially mobile platforms, and is meaningless to screen readers. As such, article text should not refer to image positions, especially with terms such as left, right, above, or below. Instead, use captions to identify images.
Images uploaded to Misplaced Pages are automatically placed into the ''']''', formerly known as the '''image namespace'''. This means that names of ] start with the prefix "File:".


===Inline linking=== ===Inline images===
{{see also|Help:Visual file markup#Border}}
{{shortcut|WP:HOTLINK}}
{{Shortcuts|MOS:BORDERIMAGE}}
{{selfref|"WP:HOTLINK" redirects here. For guidelines on hotlinking images on Wikimedia servers, see ].}}


*Substituting <code>frameless</code> for <code>thumb</code> produces an "inline" image. For example,{{indent|3}}<code><nowiki>This ] is an inline image.</nowiki></code><br />produces{{indent|3}}This ] is an inline image.
] of images on external sites for display on Misplaced Pages is disabled for several reasons:
*A one-pixel border may be added via {{para||border}}. For example,{{indent|3}}<code><nowiki>This ] is an inline image with a border.</nowiki></code><br />produces{{indent|3}}This ] is an inline image with a border.
# inline linking to images on other sites is often considered ] as it increases the ] use of that site; content sites where the image is stored and from which it is retrieved may not like the new placement. Misplaced Pages's high traffic could overwhelm a small website, causing a denial of service.
*Inline images do not have captions
# allowing inline image linking makes it easier for vandals to post images from ]s
*Note the syntax <code>x20px</code>: whereas <code>20px</code> specifies a 20-pixel {{em|width}}, <code>x20px</code> specifies a 20-pixel {{em|height}}. Heights between <code>x18px</code> and <code>x22px</code> will usually match surrounding text well. (<code>upright</code> is not usually used with inline images.)
# allowing inline image linking makes it easier to introduce ] without obtaining an acceptable ]
# inline links to external images are less reliable due to ]


==Making images available==
Instead, to place an image on Misplaced Pages, you will need to ] it.
{{shortcut|MOS:HOTLINK}}
{{anchor|Inline linking}}{{selfref|For further information, see: ], ] as well as ]}}

All images used on Misplaced Pages must be uploaded to Misplaced Pages itself or ]. That is, ] is not supported.

Images uploaded to Misplaced Pages are automatically placed into the {{strong|]}} (formerly known as the {{strong|Image namespace}}), i.e., the names of ] start with the prefix <code>File:</code>.


===Obtaining images=== ===Obtaining images===
All images on Misplaced Pages must comply with the ]. This means that they must be free for commercial use and alteration. However, some ] of ] is allowed in limited circumstances. All images must comply with ]: in general, they must be free for reuse, including commercial use and use after alteration, though some "]" of non-free content is allowed in limited circumstances—see ].


==== Finding images already uploaded ==== ==== Finding images already uploaded ====
Search for existing files through: Search for existing files through:


* ] Use the to search for images and other files uploaded to the English Misplaced Pages by keyword or title. Most fair-use images are located here. * ]&nbsp;– Use the to search for images and other files uploaded to the English Misplaced Pages by keyword or title. Most fair-use images are located here.
* ] Go to ] to search for images and other media files by description, title, or category. * ]&nbsp;– Go to ] to search for images and other media files by description, title, or category.
* If the article has ] to other Wikipedias, then click through to the non-English articles to see which images they are using. * If the article has ] to other Wikipedias, then click through to the non-English articles to see which images they are using.


==== Making images yourself {{anchor|Annotated image}}==== ====Making images yourself {{anchor|Annotated image}}====
{{selfref|For further information, see: ] and ]}} {{selfref|For further information, see: {{section link|WP:Image use policy#User-created images}}, ], ], and ]}}
You may upload photographs, drawings, or other graphics created with a camera, scanner, graphics software, and so on. When photographing or scanning potentially copyrighted works, or creating depictions of persons other than yourself, be sure to respect copyright and privacy restrictions. For further information see ].
You may take a ] with your ], ], or integrated ], draw an image or graph digitally, perhaps with a ], or ] drawings and photos taken with a ] and then upload the image.


Try to avoid including text in uploaded images or diagrams, whenever possible; you can use ] or ] to add ] (e.g., regular text, wikilinks, references, and other templates) onto existing images. These templates can also be used to expand the area around an image or crop and enlarge part of an image without affecting the file on commons. In order to maximize images' usefulness in all languages, avoid including text within them. Instead, add text, links, references, etc., to images using ] or ], which can also be used to expand the area around an image or crop and enlarge part of an image—all without the need for uploading a new, modified image.


==== Finding images on the Internet ==== ==== Finding images on the Internet ====
{{selfref|For further information, see: ]}} {{selfref|For further information, see: ]}}
An extensive list of free image resources by topic can be found at: ]. In addition to ], the ] has a ] (FIST), which automatically culls free images from the ], ] and a few other sites. Several other useful, general purpose ] engines include: ], ] and ]. ] licensed images with ''Attribution'' and ''Attribution-ShareAlike'' as their license may be used on Misplaced Pages. '''Images with any license restricting commercial use or the creation of derivative works may not be used on Misplaced Pages'''. An extensive list of free image resources by topic can be found at: ]. In addition to ], the ] has a ] (FIST), which automatically culls free images from the ], ] and a few other sites. Several other useful, general purpose ] engines include: ], ] and ]. ] licensed images with ''Attribution'' and ''Attribution-ShareAlike'' as their license may be used on Misplaced Pages. {{strong|Images with any license restricting commercial use or the creation of derivative works may not be used on Misplaced Pages.}}


The Creative Commons site has a that can be used as a starting point to find suitably licensed images; make sure you check both the checkboxes "use for commercial purposes" and "modify, adapt, or build upon". The Creative Commons site has a that can be used as a starting point to find suitably licensed images; make sure you check both the checkboxes "use for commercial purposes" and "modify, adapt, or build upon".


If you find an image on the Internet that is not available freely, you can email the copyright owner and ask for their permission to release it under a suitable license, adapting the ]. If you cannot find a suitable image, you may also list your request at ], so that another contributor may find or create a suitable image. If you find an image on the Internet that is not available freely, you can email the copyright owner and ask for their permission to release it under a suitable license, adapting the ]. If you cannot find a suitable image, you may also list your request at ], so that another contributor may find or create a suitable image.


==== Requesting images from others ==== ====Requesting images from others====
See See
{{columns-list|colwidth=25em|
* ] * ]
* ] * ]
* ] * ]
* ] (for requesting Wikipedians to take photos etc.) * ] (for requesting Wikipedians to take photos etc.)
}}


=== {{anchor|retouching}} Editing images === ==={{anchor|retouching}} Editing images===
<!-- This Anchor tag serves to provide a permanent target for incoming section links. Please do not move it out of the section heading, even though it disrupts edit summary generation (you can manually fix the edit summary before you save your changes). Please do not modify it, even if you modify the section title. It is always best to anchor an old section header that has been changed so that links to it won't be broken. See ] for details. (This text: ]) --> <!-- This Anchor tag serves to provide a permanent target for incoming section links. Please do not move it out of the section heading, even though it disrupts edit summary generation (you can manually fix the edit summary before you save your changes). Please do not modify it, even if you modify the section title. It is always best to anchor an old section header that has been changed so that links to it won't be broken. See ] for details. (This text: ]) -->
] image of the Moon, red tints represent the highest elevations, purple the lowest; lest the reader be misled, the caption should make clear that this is not the coloring a viewer of the Moon would actually see.]]
The goal of editing an image is to improve its utility or quality. This may be done through cropping the image to focus on the relevant information, cleaning up artifacts from scanning printed images, correcting the color balance, removing the ], or making other adjustments.

An image's utility or quality may be improved by cropping (to focus on the relevant portion), cleaning up scanning artifacts, correcting color balance, removing ], or other adjustments.

The caption of an image should mention such edits (e.g. introduction of ]) if a reader needs to know about them to properly interpret the image.

Edits that improve the presentation without materially altering the content need not be mentioned in the caption e.g. rotation to correct a slightly crooked image, improvement to the contrast of a scan, or blurring a background to make the main subject more prominent. (However, all changes to images taken from outside sources should be noted on the ]. For images created by editors themselves, changes which could have been part of the image's original composition—such as rotation or minor cropping—need not be mentioned on the description page.)


Images should not be changed in ways that materially mislead the viewer. For example, images showing artworks, faces, identifiable places or buildings, or text should not be reversed (although those showing soap bubbles or bacteria might be). Do not change color integral to the subject, such as in images of animals. It is usually appropriate to de-speckle or remove scratches from images, though that might be inappropriate for historical photographs.
]
Some types of edits should be described in the image's caption. Generally, these are changes that the readers need to be informed of to understand what they are looking at. For example, if you crop an image to show an enlarged view of a small area, then you should explain that edit in the image's caption.


An image that was originally published as a ] image, such as black-and-white or sepia photographs, should not usually be colorized. Adding color to such an image constitutes ]. Images that were colorized by their creator, an expert, or a reliable source may sometimes be acceptable.
Other types of edits should not be described. Generally, these are changes that improve the presentation without materially altering the content. For example, if you slightly rotate a snapshot because the photographer held the camera at a crooked angle, or if you correct the contrast in a poor-quality scan, or if you blur the background to make the subject more prominent, then your changes should not be described in the Misplaced Pages article's caption. (It is still appropriate to identify your changes in the image's own description page.)


] software should generally not be used to increase the resolution or quality of an old or low-resolution image. Original historical images should always be used in place of AI upscaled versions. If an AI-upscaled image is used in an article, this fact should be noted in its caption.
Some types of edits should not be made. Generally, these are changes that materially mislead the viewer about the subject of the image. For example, photographs of artwork and images containing text should not be reversed, even though it is normally acceptable to reverse or rotate an image of objects whose orientation is unimportant or arbitrary, like soap bubbles or bacteria. If the colors are integral to the image, such as in images of many traffic signs and animals, then you should not change the colors. It is usually appropriate to de-speckle or remove scratches from images, but such an action might be inappropriate for certain historical photographs. Editors must use their best judgment to determine when their changes improve the utility or quality of the image, and when their changes deceive the readers about significant facts.


For assistance in editing or improving images on Misplaced Pages, you may find the ] a useful resource. For assistance in editing images, try ].


=== Uploading images === ===Uploading images===
{{selfref|For further information, see: ], and ]}} {{selfref|For further information, see: ], and ]}}
] users with autoconfirmed accounts (meaning at least four days old and at least ten edits) can upload media to Misplaced Pages. It is recommended that '''only''' ] media, '''not''' ] media, be uploaded to ]. Media on Wikimedia Commons can be linked to in the same way as media of the same name on Misplaced Pages. To upload media to the English Misplaced Pages, go to ] and for Wikimedia Commons, go to ]. For preferred file formats, see: ]. ] users with ] (meaning at least four days old and at least ten edits at the English Misplaced Pages) can upload media to the English Misplaced Pages. {{strong|Only}} ] media, {{strong|not}} ] media, may be uploaded to ]. Media on Wikimedia Commons can be linked to in the same way as media of the same name on Misplaced Pages. To upload media to the English Misplaced Pages, go to ] and for Wikimedia Commons, go to ]. For preferred file formats, see: ].


====Image description pages==== ====Image description pages====
{{see|Misplaced Pages:Categorization#Files/images}} {{see|Misplaced Pages:Categorization#Files/images}}
Each image has a corresponding ]. On that page, one should document the source, author and ] of the image, using one of the '''pre-defined ]'''. It is important to add both descriptive (who, what, when, where, why) and technical (equipment, software, etc.) information at the time of creating the page, which will be useful and highly informative to later editors and readers. Each image has a corresponding ], which documents the image's source, author and ]; descriptive (who, what, when, where, why) information; and technical (equipment, software, etc.) data useful to readers and later editors.


To maximize the utility and educational value of an image, please describe its contents as fully as possible on the image's description page. For example, photographs of artwork benefit from documentation of the artist, title, location, dates, museum identification numbers, and so on. Images that are described only in vague terms (for example, "a cuneiform tablet" or "a medieval manuscript") are often less useful for Misplaced Pages and less informative to our readers. To maximize the utility and educational value of an image, please describe its contents as fully as possible on the image's description page. For example, photographs of artwork benefit from documentation of the artist, title, location, dates, museum identification numbers, and so on. Images that are described only in vague terms (for example, "a cuneiform tablet" or "a medieval manuscript") are often less useful for Misplaced Pages and less informative to our readers.
Line 173: Line 228:
Description pages for images are rediscovered by editors using the ] and the ]. To help editors find precise images, please remember to document the image description page accordingly. Well-categorized and well-described images are more likely to be used. Description pages for images are rediscovered by editors using the ] and the ]. To help editors find precise images, please remember to document the image description page accordingly. Well-categorized and well-described images are more likely to be used.


== Consideration of image download size == ===Consideration of image download size===
Images can greatly increase the ] cost of viewing an article{{snd}}a consideration for readers on slow or expensive connections. Articles carry reduced-size ]s instead of full images (which the user can view by "clicking through" the thumbnail) but in some file types a thumbnail's reduced dimensions doesn't translate into a concomitant reduction in file size. (In most browsers you can see a thumbnail's size by right-clicking for its "Properties".)
In terms of ] on a ], typical images on Misplaced Pages can range in size from a few ]s to several ]s. Thus, images can easily form the primary ] component of an article download. This can be a problem for readers on a low ] connection. Slow downloads can lead to user frustration, so the article's ] should be minimised.


If one image's file size is disproportionate to those of others in the same article, you may want to reduce it by selecting a different file format:
Misplaced Pages aids the download performance by converting full images into ]s before they are transmitted. However, not all image formats provide a significant size reduction through this technique. In most browsers you can review the memory footprint of downloaded images by moving the cursor over the image, right-clicking, then selecting ''Properties''. The resulting window will show the resulting file size in Kb or Mb. For best results, you may want to focus on reducing the size of the largest image files on a page, particularly when they are disproportionately large compared to other images.
* ] images with a frame size larger than 100 million pixels (measured as pixel height × pixel width × number of frames in the animation) cannot currently be displayed in thumbnail form in Misplaced Pages articles. A thumbnail of a GIF image can be considerably larger in kilobytes than the original image file.

* The ] format is useful for storing graphics that contain text, line art, or other images with sharp transitions. It can achieve the same graphical results as a GIF file, and in many cases do so with a higher rate of ]. For this reason, PNG format files are usually preferred to the GIF format. For images with substantial editing, or for which further editing may be warranted, uploading a PNG as well as a JPEG is common (PNG is lossless compression, so repeatedly saving edits on a PNG will not result in loss of quality).
There are several image file formats available, each with their own benefits and drawbacks. One method of reducing the image downloaded time is to change the chosen format.
* Animated ] images have a few additional restrictions. Images larger than 100 million pixels (measured as pixel height × pixel width × number of frames in the animation) currently will only show the first frame of the animation in a thumbnail. When not using a GIF animation at its original frame size, consider creating an Ogg ] movie of the animation.

* ] images with a frame size larger than 12.5 million pixels (measured as pixel height × pixel width × number of frames in the animation) cannot currently be displayed in thumbnail form in Misplaced Pages articles. A thumbnail of a GIF image can be considerably larger in filesize than the original image. For the best results, try to upload GIF images in the framesize that you intend to use in the article. * ] images with a frame size larger than 12.5 million pixels cannot currently be displayed in thumbnail form in Misplaced Pages articles, a significantly lower limit than the GIF format, and is not fully supported on all browsers.
* A ] or other compressed image format can be much smaller than a comparable GIF or PNG format file. When there is no apparent difference in quality, such as with a photograph that has no sharp graphical transitions, a compressed image format such as JPEG may be preferable for reasons of download performance. Misplaced Pages is often able to achieve much better compression of JPEG photograph thumbnails than comparable PNG images, and with little perceptible loss of quality. Repeatedly loading and resaving an image as JPEG will result in loss of quality, however, as will using low settings for the JPEG; as such, if you've made edits, it can be helpful to save a PNG or TIFF copy before closing the image editor and upload that as well; this copy can then be used to generate a new JPEG after further editing.
* Animated ] images have a few additional restrictions. Images larger than 12.5 million pixels (measured as pixel height × pixel width × number of frames in the animation) currently will only show the first frame of the animation in a thumbnail. When not using a GIF animation at its original frame size, consider creating an Ogg ] movie of the animation.
* The ] format is useful for storing graphics that contain text, line art, or other images with sharp transitions. It can achieve the same graphical results as a GIF file, and in many cases do so with a higher rate of ]. For this reason, PNG format files are usually preferred to the GIF format. (However, for certain types of images, PNG thumbnailing is not as efficient as GIF thumbnailing, when Wikimedia GIF thumbnailing is enabled.)
* A ] or other compressed image format can be much smaller than a comparable GIF or PNG format file. When there is no apparent difference in quality, such as with a photograph that has no sharp graphical transitions, a compressed image format such as JPEG may be preferable for reasons of download performance. Misplaced Pages is often able to achieve much better compression of JPEG photograph thumbnails than comparable PNG images, and with little perceptible loss of quality.
* Where an image consists solely of line art, charts text and simple graphics, an ] file can be significantly smaller than other graphics formats. This is because the data is encoded as a series of drawing commands, rather than as ]. There are ] applications available for rendering graphics in SVG format. However, SVG thumbnails are rendered as PNGs. * Where an image consists solely of line art, charts text and simple graphics, an ] file can be significantly smaller than other graphics formats. This is because the data is encoded as a series of drawing commands, rather than as ]. There are ] applications available for rendering graphics in SVG format. However, SVG thumbnails are rendered as PNGs.
* Rather than including an image gallery on an article, which could add significantly to the download size, consider creating a gallery/category on the Wikimedia Commons instead. * Rather than including an image gallery on an article, which could add significantly to the download size, consider creating a gallery/category on the Wikimedia Commons instead.

==Video content==

* The guidelines on this page also generally apply to videos.
* Many readers will not be able to play videos, because of technical limitations of their web browser, because they are seeing article content on a different web site or app, or because they are using a different medium, such as paper or text-to-speech system. Some readers cannot see or find it difficult. Videos should be used as a ''supplement'' to article material, to concisely illustrate the subject in a way that a still image or text cannot do. Videos should not replace article text, and articles should remain coherent and comprehensive when video playback is not available.
* Similar to ], for accessibility and file size reasons:
** Videos that simply show text should be replaced with text.
** Videos that simply show a sequence of still pictures should be replaced with an image gallery.
** Videos that are just text being read aloud should be replaced with text - or if the sound of words is being demonstrated, audio files (with the text being read in the file caption or in closed captioning).
** Videos that are just text with narration should be converted to article text.
* The copyright and other guidelines on ] also apply to video samples.
* The policies on ] also generally apply to videos.
* Accessibility guidelines at ] apply.


==See also== ==See also==
{{columns-list|colwidth=20em|
{{col-begin}}
* ]
{{col-2}}
* ] (information page summarizing the key points of this guideline)
* ] * ]
* ] * ]
* ] * ]
* ]
* ] * ]
* ] * ]
Line 198: Line 266:
* ] * ]
* ] * ]
* ]
* ] (historical proposal) * ] (historical proposal)
{{col-2}}
* ] * ]
* ]
* ] * ]
* ] * ]
Line 209: Line 274:
* ] * ]
* ] * ]
* ] * ]
* ] (historical reference) * ] (historical reference)
}}
{{col-end}}


==Notes== ==Notes==
{{notelist}}
{{reflist|group=nb|refs= {{reflist|group=nb|refs=
<ref name="typical">Here a "typical Misplaced Pages reader" is defined by the cultural beliefs of the majority of the website {{em|readers}} (not active editors) that are literate in an article's language. Clarifying this viewpoint may require a broad spectrum of input and discussion, as cultural views can differ widely.</ref>


<ref name="leave_pref">If you do much work with image layouts, consider leaving your preference at 220px to match the "reader experience" of most readers.</ref>
<ref name="typical">

Here a "typical Misplaced Pages reader" is defined by the cultural beliefs of the majority of the website ''readers'' (not active editors) that are literate in an article's language. Clarifying this viewpoint may require a broad spectrum of input and discussion, as cultural views can differ widely.
<ref name=corresp><code>px</code> works the same as <code>upright</code> for users with the usual base width setting of 220px, but works counterintuitively for readers whose base width is set to a different value (see {{Section link|Help:Preferences#Files}}). For example, an image coded <code>275px</code>—presumably to make it wider than most images on a particular page—is actually rendered {{em|smaller}} than most images if the user has changed their base width to 300px. In contrast, <code>upright</code> responds gracefully to changes in the user's base width, maintaining the relative size of images in any given article by enlarging or reducing all of them proportionately.
</ref>
{{paragraph break}}
However, a thumbnail cannot be displayed larger than the original uploaded image. For example, if an image is coded <code>|thumb|330px</code> or <code>|thumb|upright=1.5</code> (for a reader with the usual base width of 220px), but the original uploaded file was only 200px wide, then the article thumbnail will still be displayed at only 200px.</ref>

<ref group=nb name=left>A consistent left margin creates a stable anchor for tracking through lines of text making it more readable / accessible.</ref>
}} }}


Line 226: Line 297:
] ]
] ]

]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]

Latest revision as of 16:23, 28 December 2024

Wikimedia project page For help on how to insert images into articles, see Help:Pictures. For wider information about images on Misplaced Pages, see Misplaced Pages:Images.

This guideline is a part of the English Misplaced Pages's Manual of Style.
It is a generally accepted standard that editors should attempt to follow, though occasional exceptions may apply. Any substantive edit to this page should reflect consensus. When in doubt, discuss first on the talk page.
Shortcuts
Manual of Style (MoS)

Content
Formatting
Images
Layout
Lists
By topic area
Legal
Arts
Music
History
Regional
Religion
Science
Sports
Related guidelines

This page gives an overview of how images are used in Misplaced Pages; for more information, see Image use policy and see Help:Files on how to upload and include an image.

Choosing images

Pertinence and encyclopedic nature

Shortcuts
Top of an unrecognizable curvy building under blue sky with a helicopter so far in the distance that it resembles a sparrow
This image of a helicopter over the Sydney Opera House shows neither adequately.

Images must be significant and relevant in the topic's context, not primarily decorative; each image in an article should have a clear and unique illustrative purpose. They are often an important illustrative aid to understanding. When possible, find better images and improve captions instead of simply removing poor or inappropriate ones, especially on pages with few visuals. However, not every article needs images, and too many can be distracting: usually, less is more.

See also Misplaced Pages:Manual of Style/Icons § Encyclopedic purpose (MOS:DECOR) on misuse of icons and other elements for decorative intent.

Images should look like what they are meant to illustrate, whether or not they are provably authentic. For example, a painting of a cupcake may be an acceptable image for Cupcake, but a real cupcake that has been decorated to look like something else entirely is less appropriate. Similarly, an image of a generic-looking cell under a light microscope might be useful on multiple articles, as long as there are no visible differences between the cell in the image and the typical appearance of the cell being illustrated.

Strive for variety. For example, in an article with numerous images of persons (e.g. Running), seek to depict a variety of ages, genders, and ethnicities. If an article on a military officer already shows its subject in uniform, then two more formal in-uniform portraits would add little interest or information, but a map of an important battle and an image of its aftermath would be more informative. Resist the temptation to overwhelm an article with images of marginal value simply because many images are available.

Ethnic groups

Shortcuts

Articles about ethnic groups or similarly large human populations should not be illustrated by a photomontage or gallery of images of group members; see this and this thread for the most recent consensus discussion on the topic.

Image quality

Shortcut

Use the best quality images available. Poor-quality images—dark or blurry; showing the subject too small, hidden in clutter, or ambiguous; and so on—should not be used unless absolutely necessary. Think carefully about which images best illustrate the subject matter. For example:

  • An image of a white-tailed eagle is useless if the bird appears as a speck in the sky.
  • A biography should lead with a portrait photograph of the subject alone, not with other people.
  • A suitable picture of a hammerhead shark would show its distinctive hammer-like head, to distinguish it from other sharks.
  • A map of Moldova should show its frontiers with Romania and Ukraine, so people may know where the country is located in relation to its neighbors.
  • Rice is best represented with an image of plain rice, not fried rice.
  • Intangible concepts can be illustrated; for example, two boars butting heads portrays aggression.

Pages using seals, flags, banners, logos, or other symbols to represent governments, organizations, and institutions should use the version prescribed by that entity when available. These are preferable to amateur creations of similar quality, including photographs of physical representations of emblems.

Avoid presenting textual information as images

Main page: Misplaced Pages:Manual of Style § Avoid entering textual information as images

Scale references

Shortcut

An image sometimes includes a familiar object to communicate scale. Such fiducial markers should be as culturally universal and standardized as possible: rulers, matches, batteries, pens/pencils, footballs (soccer balls), people and their body parts, vehicles, and famous structures such as the Eiffel Tower are good choices, but many others are possible. Such objects as coins, banknotes, and sheets of paper are less satisfactory because they are specific to given locales, but may be better than none at all since at least the general scale is still communicated.

Quantitative data, if available, should still be given in the caption or the article.

Offensive images

Shortcut Main page: Misplaced Pages:Offensive material See also: Misplaced Pages:Image blacklist
Options to hide an image

Misplaced Pages is not censored: its mission is to present information, including information which some may find offensive. However, a potentially offensive image—one that would be considered vulgar, horrifying, or obscene by typical Misplaced Pages readers—should be included only if it is treated in an encyclopedic manner, i.e. only if its omission would cause the article to be less informative, relevant, or accurate, and no equally suitable alternative is available. Images should respect conventional expectations of readers for a given topic as much as is possible without sacrificing the quality of the article. Avoid images that contain irrelevant or extraneous elements that might seem offensive or harassing to readers; for example, photographs taken in a pornographic context would normally be inappropriate for articles about human anatomy.

Images for the lead

Shortcuts See also: Misplaced Pages:Manual of Style/Lead section § Elements

It is common for an article's lead or infobox to carry a representative image—such as of a person or place, a book or album cover—to give readers visual confirmation that they've arrived at the right page.

For some topics, selecting the lead image can be difficult. While Misplaced Pages is not censored, lead images should be selected with care (see § Offensive images, above). The lead image is perhaps the first thing to catch the reader's eye, so avoid lead images that readers would not expect to see there. Unlike other content beyond the lead, the lead image should be chosen with these considerations in mind.

Advice on selecting a lead image includes:

  • Lead images should be natural and appropriate representations of the topic; they should not only illustrate the topic specifically, but also be the type of image used for similar purposes in high-quality reference works, and therefore what our readers will expect to see. Lead images are not required, and not having a lead image may be the best solution if there is no easy representation of the topic.
  • ShortcutsLead images should be of least shock value; an alternative image that accurately represents the topic without shock value should always be preferred. For example, using an image of deportees being subjected to selection as the lead image at this version of The Holocaust is far preferable to the appropriate images that appear later in the article that show the treatment of the prisoners or corpses from the camps.
  • Sometimes it is impossible to avoid using a lead image with perceived shock value, for example in articles on human genitalia. Editors may assume, per Misplaced Pages:Content disclaimer, that readers are aware that such articles may contain such images.
  • Using photomontages or a gallery of images of group members should be avoided in articles about ethnic groups or similarly large human populations. This does not apply to articles about things such as body parts or haircuts.
  • On some mobile platforms an article's first image may be displayed at the top of the article, even if it appears well into the article in the desktop view. When placing images consider whether this phenomenon may mislead or confuse readers using mobile devices.

How to place an image

Shortcuts Further information: Misplaced Pages:Manual of Style/Accessibility § Images See also: Misplaced Pages:Picture tutorial

Syntax

A white dog in a harness playfully nuzzles a young boy
A Siberian Husky used as a pack animal

Basic example (producing the image at right):

] used as a pack animal]]

  • File:Siberian Husky pho.jpg The file (image) name must be exact (including capitalization, punctuation and spacing) and must include .jpg, .png or other extension. (Image: and File: work the same.) If Misplaced Pages and Wikimedia Commons both have an image with the specified name, the Misplaced Pages version is the one that will appear in the article.
  • thumb is required in most cases
  • alt=A white dog in a harness playfully nuzzles a young boy Alt text is meant for those who cannot see the image; unlike the caption, it summarizes the image's appearance. It should comport with Misplaced Pages:Manual of Style/Accessibility/Alternative text for images and should name famous events, people and things.
  • A ] used as a pack animal The caption comes last, and gives the meaning or significance of the image.

See WP:Extended image syntax for further features and options. If the image does not display after you have carefully checked the syntax, it may have been blacklisted.

VR photographs

Shortcut

To display VR photographs (aka 360-degree panoramas or photospheres), use {{PanoViewer}}.

Size

Shortcuts See also: Misplaced Pages:Image use policy § Displayed image size
  • Images adjacent to text should use the |thumb (thumbnail) or |frameless parameter, typically sized differently from the original. The default image width then becomes 220 pixels (px), which registered (logged-in) users can change via Preferences. The Siberian Husky image above is displayed at whatever your base width is.
Image using width upright=1.8, so that it is 80% wider than the Siberian Husky image above (which is at the default upright=1 width)
Image using upright=0.5; a scaling factor less than 1 contracts the image width.
  • An image's size is controlled by changing its width – after which software automatically adjusts height in proportion. (Most references to an image's "size" really mean its width.)
  • Except with very good reason, a fixed width in pixels (e.g. 17px) should not be specified, because it ignores the user's base width setting. Thus upright=scaling factor is preferred when it is desired to present an image at other than the default width. As a general rule, images should not be set to a larger fixed width than 220px (the initial base width), and if an exception to this general rule is warranted, the resulting image should usually be no more than 400px wide (300px for lead images) and 500px tall, for comfortable display on the smallest devices "in common use" (though this may still cause viewing difficulties on some unusual displays).
  • To convert a px value to upright, divide it by 220 and round the result as desired. For example, |150px is roughly equivalent to |upright=0.7 because 150 / 220 ≃ 0.682 .
    • Cases where fixed sizes may be used include for standardization of size via templates (such as within infobox templates or the display of country flag icons), for displaying reduced images sizes where space is constrained (such as images used in the In the News and Did You Know sections on the WP:Main Page, or within larger tables such as List of Nobel Peace Prize laureates), or if it is necessary to align images in columns or rows. Templates like {{multiple image}} can automatically match the height or width of images with different aspect ratios, though this height or width must be hard coded to a set number of pixels because it cannot scale images to respect users' preferences.
  • Where a smaller or larger image is appropriate, use |upright=scaling factor, which expands or contracts the image by a factor relative to the user's base width.
    • For example:
      • upright=1.3 might be used for an image with fine detail (e.g. a map or diagram) to render it "30% larger than this user generally wants". (For a reader with the usual base width setting of 220px, this is 285px.)
      • upright=0.6 might be used for an image with little detail (e.g. a simple drawing or flag) which can be adequately displayed "40% smaller than this user generally wants". (For a reader with the usual base width setting of 220px, this is 130px.)
    • Short, wide images often call for upright of 1 or greater; tall, narrow images may look best with upright of 1 or less.
    • When specifying upright= values greater than 1, take care to balance the need to reveal detail against the danger of overwhelming surrounding article text.
      • Images in which a small region of detail is important (but cropping to that region is unacceptable) may need to be larger than normal, but upright=1.8 should usually be the largest value for images floated beside text.
      • Lead images should usually use upright=1.35 at most.
    • Images within an article, especially those near one another and on the same side, may be more appealing if presented at the same width.
    • If upright is completely absent, that's equivalent to upright=1. But upright alone, with no =scaling factor (e.g. ]) is equivalent to upright=0.75; this usage is confusing and therefore deprecated. Historically, "upright" was intended for upright (portrait) images, which look better at a narrower width. Later, the parameter was expanded to support any scaling factor, but the original name remained.
  • To present images larger than the guidelines above (e.g. panoramas), use |thumb|center or |thumb|none, so that the image stands alone; or use {{wide image}} or {{tall image}} to present a very large image in a scrollable box.
This image uses |thumb|center|upright=2.5 to expand the image, center it, and clear the area on either side.

Location

Further information: Misplaced Pages:Image use policy § Placement Shortcut
A white dog in a harness playfully nuzzles a young boy
A Siberian Husky used as a pack animal

Most images should be on the right side of the page, which is the default placement. Left-aligned images may disturb the layout of bulleted lists and similar structures that depend on visual uniformity, e.g. by pushing some items on such lists further inward. Hence, avoid left-aligned images near such structures. If an exception to the general rule is warranted, specify |left in the image link: ] used as a pack animal]].

Shortcut

An image should generally be placed in the most relevant article section; if this is not possible, try not to place an image too early, i.e., far ahead of the text discussing what the image illustrates, if this could puzzle the reader. The first image of a section should be placed below any hatnote (typically a navigational hatnote in the form of {{Main}}, {{Further}} and {{See also}} templates). Do not place an image at the end of the previous section as this will not be visible in the appropriate section on mobile devices. An image causes a paragraph break (i.e., the current paragraph ends and a new one begins) so it is not possible to place an image within a paragraph. This applies to thumb images; small inline images are an exception (see Inline images).

Shortcut
Wide images opposite one another ...
... can create an unsightly text sandwich (depending on platform and window size).

Mul­ti­ple im­ages can be stag­gered right and left. How­ever, a­void sand­wich­ing text be­tween two im­ages hor­i­zon­tally op­po­site each other; or be­tween an im­age and an in­fo­box, nav­i­ga­tion tem­plate, or sim­i­lar. As an al­ter­na­tive, con­sid­er us­ing the {{multiple image}} tem­plate, which pla­ces two im­ag­es to­geth­er on the right (but which, how­ev­er, ig­nores logged-in us­ers' se­lect­ed im­age siz­es). If the sec­tion has mul­tiple rele­vant para­graphs, you can also move one image to an­other place in the sec­tion. (See WP:GALLERY for in­form­ation on the u­se of multip­le im­ages.)

Portrait

Shortcut

It is often preferable to place a portrait (image or representation of a person) so that they "look" toward the text, but do not achieve this by reversing the image, which creates a false presentation. (Faces are never truly symmetric even in the absence of scars or other features.)

References from article text

Shortcut

Image placement varies with platform and screen size, especially mobile platforms, and is meaningless to screen readers. As such, article text should not refer to image positions, especially with terms such as left, right, above, or below. Instead, use captions to identify images.

Inline images

See also: Help:Visual file markup § Border Shortcut
  • Substituting frameless for thumb produces an "inline" image. For example,
       This ] is an inline image.
    produces
       This is an inline image.
  • A one-pixel border may be added via |border. For example,
       This ] is an inline image with a border.
    produces
       This is an inline image with a border.
  • Inline images do not have captions
  • Note the syntax x20px: whereas 20px specifies a 20-pixel width, x20px specifies a 20-pixel height. Heights between x18px and x22px will usually match surrounding text well. (upright is not usually used with inline images.)

Making images available

Shortcut

For further information, see: Extended image syntax, Embedding Commons' media in Misplaced Pages articles as well as Uploading images

All images used on Misplaced Pages must be uploaded to Misplaced Pages itself or Wikimedia Commons. That is, hotlinking is not supported.

Images uploaded to Misplaced Pages are automatically placed into the File namespace (formerly known as the Image namespace), i.e., the names of image pages start with the prefix File:.

Obtaining images

All images must comply with Misplaced Pages's image use policy: in general, they must be free for reuse, including commercial use and use after alteration, though some "fair use" of non-free content is allowed in limited circumstances—see Misplaced Pages:Non-free content.

Finding images already uploaded

Search for existing files through:

Making images yourself

For further information, see: WP:Image use policy § User-created images, Commons:How to take pictures, WP:Uploading images, and WP:Graphics tutorials

You may upload photographs, drawings, or other graphics created with a camera, scanner, graphics software, and so on. When photographing or scanning potentially copyrighted works, or creating depictions of persons other than yourself, be sure to respect copyright and privacy restrictions. For further information see Misplaced Pages:Non-free content.

In order to maximize images' usefulness in all languages, avoid including text within them. Instead, add text, links, references, etc., to images using Template:Annotated image or Template:Annotated image 4, which can also be used to expand the area around an image or crop and enlarge part of an image—all without the need for uploading a new, modified image.

Finding images on the Internet

For further information, see: Finding images tutorial

An extensive list of free image resources by topic can be found at: Public domain image resources. In addition to Wikimedia Commons, the Wikimedia Toolserver has a Free Image Search Tool (FIST), which automatically culls free images from the Wikimedia sister projects, Flickr and a few other sites. Several other useful, general purpose image search engines include: Google Image Search, Picsearch and Pixsta. Creative Commons licensed images with Attribution and Attribution-ShareAlike as their license may be used on Misplaced Pages. Images with any license restricting commercial use or the creation of derivative works may not be used on Misplaced Pages.

The Creative Commons site has a search page that can be used as a starting point to find suitably licensed images; make sure you check both the checkboxes "use for commercial purposes" and "modify, adapt, or build upon".

If you find an image on the Internet that is not available freely, you can email the copyright owner and ask for their permission to release it under a suitable license, adapting the boilerplate request for permission. If you cannot find a suitable image, you may also list your request at Misplaced Pages:Requested pictures, so that another contributor may find or create a suitable image.

Requesting images from others

See

Editing images

In this pseudocolor image of the Moon, red tints represent the highest elevations, purple the lowest; lest the reader be misled, the caption should make clear that this is not the coloring a viewer of the Moon would actually see.

An image's utility or quality may be improved by cropping (to focus on the relevant portion), cleaning up scanning artifacts, correcting color balance, removing red-eye effect, or other adjustments.

The caption of an image should mention such edits (e.g. introduction of false color or pseudocolor) if a reader needs to know about them to properly interpret the image.

Edits that improve the presentation without materially altering the content need not be mentioned in the caption e.g. rotation to correct a slightly crooked image, improvement to the contrast of a scan, or blurring a background to make the main subject more prominent. (However, all changes to images taken from outside sources should be noted on the image's description page. For images created by editors themselves, changes which could have been part of the image's original composition—such as rotation or minor cropping—need not be mentioned on the description page.)

Images should not be changed in ways that materially mislead the viewer. For example, images showing artworks, faces, identifiable places or buildings, or text should not be reversed (although those showing soap bubbles or bacteria might be). Do not change color integral to the subject, such as in images of animals. It is usually appropriate to de-speckle or remove scratches from images, though that might be inappropriate for historical photographs.

An image that was originally published as a monochrome image, such as black-and-white or sepia photographs, should not usually be colorized. Adding color to such an image constitutes original research. Images that were colorized by their creator, an expert, or a reliable source may sometimes be acceptable.

AI upscaling software should generally not be used to increase the resolution or quality of an old or low-resolution image. Original historical images should always be used in place of AI upscaled versions. If an AI-upscaled image is used in an article, this fact should be noted in its caption.

For assistance in editing images, try WP:Graphics Lab.

Uploading images

For further information, see: Uploading images, and File names

Logged in users with autoconfirmed accounts (meaning at least four days old and at least ten edits at the English Misplaced Pages) can upload media to the English Misplaced Pages. Only free licensed media, not fair use media, may be uploaded to Wikimedia Commons. Media on Wikimedia Commons can be linked to in the same way as media of the same name on Misplaced Pages. To upload media to the English Misplaced Pages, go to special:upload and for Wikimedia Commons, go to commons:special:upload. For preferred file formats, see: Preparing images for upload.

Image description pages

Further information: Misplaced Pages:Categorization § Files/images

Each image has a corresponding description page, which documents the image's source, author and copyright status; descriptive (who, what, when, where, why) information; and technical (equipment, software, etc.) data useful to readers and later editors.

To maximize the utility and educational value of an image, please describe its contents as fully as possible on the image's description page. For example, photographs of artwork benefit from documentation of the artist, title, location, dates, museum identification numbers, and so on. Images that are described only in vague terms (for example, "a cuneiform tablet" or "a medieval manuscript") are often less useful for Misplaced Pages and less informative to our readers.

Reliable sources, if any, may be listed on the image's description page. Generally, Misplaced Pages assumes in good faith that image creators are correctly identifying the contents of photographs they have taken. If such sources are available, it is helpful to provide them. This is particularly important for technical drawings, as someone may want to verify that the image is accurate.

Description pages for images are rediscovered by editors using the search engine and the categories. To help editors find precise images, please remember to document the image description page accordingly. Well-categorized and well-described images are more likely to be used.

Consideration of image download size

Images can greatly increase the bandwidth cost of viewing an article – a consideration for readers on slow or expensive connections. Articles carry reduced-size thumbnails instead of full images (which the user can view by "clicking through" the thumbnail) but in some file types a thumbnail's reduced dimensions doesn't translate into a concomitant reduction in file size. (In most browsers you can see a thumbnail's size by right-clicking for its "Properties".)

If one image's file size is disproportionate to those of others in the same article, you may want to reduce it by selecting a different file format:

  • GIF images with a frame size larger than 100 million pixels (measured as pixel height × pixel width × number of frames in the animation) cannot currently be displayed in thumbnail form in Misplaced Pages articles. A thumbnail of a GIF image can be considerably larger in kilobytes than the original image file.
  • The PNG format is useful for storing graphics that contain text, line art, or other images with sharp transitions. It can achieve the same graphical results as a GIF file, and in many cases do so with a higher rate of file compression. For this reason, PNG format files are usually preferred to the GIF format. For images with substantial editing, or for which further editing may be warranted, uploading a PNG as well as a JPEG is common (PNG is lossless compression, so repeatedly saving edits on a PNG will not result in loss of quality).
  • Animated GIF images have a few additional restrictions. Images larger than 100 million pixels (measured as pixel height × pixel width × number of frames in the animation) currently will only show the first frame of the animation in a thumbnail. When not using a GIF animation at its original frame size, consider creating an Ogg Theora movie of the animation.
  • Animated PNG images with a frame size larger than 12.5 million pixels cannot currently be displayed in thumbnail form in Misplaced Pages articles, a significantly lower limit than the GIF format, and is not fully supported on all browsers.
  • A JPEG or other compressed image format can be much smaller than a comparable GIF or PNG format file. When there is no apparent difference in quality, such as with a photograph that has no sharp graphical transitions, a compressed image format such as JPEG may be preferable for reasons of download performance. Misplaced Pages is often able to achieve much better compression of JPEG photograph thumbnails than comparable PNG images, and with little perceptible loss of quality. Repeatedly loading and resaving an image as JPEG will result in loss of quality, however, as will using low settings for the JPEG; as such, if you've made edits, it can be helpful to save a PNG or TIFF copy before closing the image editor and upload that as well; this copy can then be used to generate a new JPEG after further editing.
  • Where an image consists solely of line art, charts text and simple graphics, an SVG file can be significantly smaller than other graphics formats. This is because the data is encoded as a series of drawing commands, rather than as raster graphics. There are open source applications available for rendering graphics in SVG format. However, SVG thumbnails are rendered as PNGs.
  • Rather than including an image gallery on an article, which could add significantly to the download size, consider creating a gallery/category on the Wikimedia Commons instead.

Video content

  • The guidelines on this page also generally apply to videos.
  • Many readers will not be able to play videos, because of technical limitations of their web browser, because they are seeing article content on a different web site or app, or because they are using a different medium, such as paper or text-to-speech system. Some readers cannot see or find it difficult. Videos should be used as a supplement to article material, to concisely illustrate the subject in a way that a still image or text cannot do. Videos should not replace article text, and articles should remain coherent and comprehensive when video playback is not available.
  • Similar to MOS:TEXTASIMAGES, for accessibility and file size reasons:
    • Videos that simply show text should be replaced with text.
    • Videos that simply show a sequence of still pictures should be replaced with an image gallery.
    • Videos that are just text being read aloud should be replaced with text - or if the sound of words is being demonstrated, audio files (with the text being read in the file caption or in closed captioning).
    • Videos that are just text with narration should be converted to article text.
  • The copyright and other guidelines on Misplaced Pages:Manual of Style/Music samples also apply to video samples.
  • The policies on Misplaced Pages:Image use policy also generally apply to videos.
  • Accessibility guidelines at MOS:ANIMATION apply.

See also

Notes

  1. Natural means the obvious or usual type of image. For example, the natural choice for the lead image for an article about a person would be a drawing or photograph of that person, and the natural choice for the lead image for an article about an insect is a drawing or photograph of that insect. Natural does not mean casual or informal.
  2. The size of the original image can vary widely, depending on for example the resolution. Some images could take a whole 15 inches of space on a computer screen.
  1. Here a "typical Misplaced Pages reader" is defined by the cultural beliefs of the majority of the website readers (not active editors) that are literate in an article's language. Clarifying this viewpoint may require a broad spectrum of input and discussion, as cultural views can differ widely.
  2. If you do much work with image layouts, consider leaving your preference at 220px to match the "reader experience" of most readers.
  3. px works the same as upright for users with the usual base width setting of 220px, but works counterintuitively for readers whose base width is set to a different value (see Help:Preferences § Files). For example, an image coded 275px—presumably to make it wider than most images on a particular page—is actually rendered smaller than most images if the user has changed their base width to 300px. In contrast, upright responds gracefully to changes in the user's base width, maintaining the relative size of images in any given article by enlarging or reducing all of them proportionately.

    However, a thumbnail cannot be displayed larger than the original uploaded image. For example, if an image is coded |thumb|330px or |thumb|upright=1.5 (for a reader with the usual base width of 220px), but the original uploaded file was only 200px wide, then the article thumbnail will still be displayed at only 200px.

  4. A consistent left margin creates a stable anchor for tracking through lines of text making it more readable / accessible.
Manual of Style
Content
Formatting
Images
Layout
Lists
By topic area
Legal
Arts
Music
History
Regional
Religion
Science
Sports
Related guidelines
Search
Misplaced Pages key policies and guidelines (?)
Content (?)
P
G
Conduct (?)
P
G
Deletion (?)
P
Enforcement (?)
P
Editing (?)
P
G
Style
Classification
Project content (?)
G
WMF (?)
P
Misplaced Pages:Manual of Style/Images: Difference between revisions Add topic