Help:How to use images

From Wikipedia, the free encyclopedia
Jump to: navigation, search
This article is about how to use images when making a Wikipedia page. To add images to Wikipedia, see Wikipedia:Image use policy.
Example:[[Image:Example.jpg|thumb|400px|Example]]

On Wikipedia, images (pictures) can be used on a page by using the Image tag. This tag uses the name of the image as well as some keywords to know where an image should be shown on a page.

Image tag[change | edit source]

[[ Image:Image.jpg | frame type | position | sizepx | caption ]]

Keywords[change | edit source]

There are some words (keywords) that are understood by the image tag. These words tell it what to do with the image. Any words it does not know are used as the caption for the image. These words are case-sensitive. They must be typed in all lower case letters.

  • Position: left, center, right
  • Frame type: frame, thumb
  • Size: A number followed by px (i.e. 200px)
  • Caption: any words that are not keywords are used as the caption.

Position[change | edit source]

  • Usable words: left, center, right
  • If no position is given, the image will be put on the right side of the page.

When using left or right, the words on the page will wrap around the image. If the center tag is used, the words will be under the image. The center position should not be used on most articles.

Examples of positioning
left
Image on left

This is an example of putting the image on the left of a page.
The tag for doing this is: [[Image:Wiki.png|left|Image on left]]
The image name is Wiki.png. The positioning is left and the caption is Image on left.

  • The caption can only be seen when the mouse is placed over the image.
right
Image on right

This is an example of putting the image on the right of a page.
The tag for doing this is: [[Image:Wiki.png|right|Image on right]]
The image name is Wiki.png. The positioning is right and the caption is Image on right.

  • The caption can only be seen when the mouse is placed over the image.
center
Image on center

This is an example of putting the image in the center of a page.
The tag for doing this is: [[Image:Wiki.png|center|Image on center]]
The image name is Wiki.png. The positioning is center and the caption is Image on center.

  • The caption can only be seen when the mouse is placed over the image.

Frame type[change | edit source]

  • Usable words: frame, thumb
  • If no Frame type is chosen, no frame is used.
  • If a Frame type is chosen, the caption is shown under the image.
Examples of Frame types
frame
Framed image

This is an example of a framed image.
The tag for doing this is: [[Image:Wiki.png|frame|Framed image]]

  • Framed images place a frame around the image and show the caption for the image.
  • The image is shown at full size. If a size is included, it will not be used.
  • Framed images are put on the right side of the screen. If used with left or center, they can be put in another place
thumb
Thumbnailed image

This is an example of a Thumbnailed image.
The tag for doing this is: [[Image:Wiki.png|thumb|Thumbnailed image]]

  • Thumbnailed images place a frame around the image and show the caption for the image.
  • Thumbnailed images are shown with a maximum size of 200px. If the image is smaller than 200px it will be shown at full size. If a maximum size is included, the image will be shown at that size instead.
  • Thumbnailed images are put on the right side of the screen. If used with left or center, they can be put in another place

Size[change | edit source]

The size of an image can be changed by adding a size in pixels to the image tag. This is done by adding a number followed by the letters px. For example, 150px. 200 pixels (200px) is the normal size used for most images on Wikipedia.

  • Framed images will not be changed by having a size: they are always shown at full size.
  • Thumbnailed pictures will be shown as 200px or the full size of the image (which ever is smaller) unless a size is used.
  • Images with no frame type used will be shown at the full size of the image unless a size is used.
Examples of Sizes
100px
200px
250px
[[Image:Wiki.png|100px|Image: 100 pixels]] [[Image:Wiki.png|200px|Image: 200 pixels]] [[Image:Wiki.png|250px|Image: 250 pixels]]

Caption[change | edit source]

Anything that is not a keyword is used as the caption of the image. Captions are only shown on images which have a Frame type used. The caption is also shown when the user's mouse is over the image, with or without a frame type being used. Because keywords are case-sensitive, right is not the same as Right. right is a keyword, Right is used as a caption.

Changing: There is no information available right now on Wikipedia about how to change the caption of an image once it has been set - even if it is wrong.

Combining keywords[change | edit source]

With the exception of using the frame and size (px) keywords together, all keywords can be used together in an image tag. If two keywords are trying to do the same thing the last one in the tag will be used. For example, if a tag has both left and right, the image will be put on the side of the page of which ever tag was added last.

Example

[[Image:Wiki.png|50px|this is a caption|left|frame|right|Left|Image: 50 pixels]]

This image will be displayed at full size, framed, on the right side of the page with the caption of Image: 50 pixels.

  • The keyword 50px is not used because the frame keyword is used.
  • The caption is Image: 50pixels because it is the last part of the tag which is not a keyword.
  • The image is placed on the right side of the page because right is the last position keyword in the tag. The word Left is not a keyword because it is capitalized. It is treated as a caption.

Related pages[change | edit source]