Jump to content

User talk:Duncharris/images

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

replacement for Wiki image markup since that is poo.

Quick job

[edit]
image caption

To simply insert an standard, right floating standard-sized image, use the following text:

[[image:Glass-Ball.jpg|thumb|image caption]]

Where the image is called Glass-Ball.jpg where "thumb" forces the creation of a thumbnail, and image caption produces an image caption. There are various extensions to this that can be used as circumstances dictate, but the vast majority of images should be in the above format.

We will now consider the elements in the markup and how they affect how an image is rendered on the page.

Overview

[edit]

The markup consists of the following components, each of which apart from the image name, is optional:

  • The image name.
  • The width of the image.
  • The alignment of the image (left, right or center)
  • The image caption
  • Whether the image has a border with a displayed caption around it.

Each of these can generally come in any order.

Left, right or center?

[edit]

Though most images are displayed on the right, a few may be displayed on the left, or centred on its own line. To do this,

Left-aligned

[edit]
image caption
[[image:Glass-Ball.jpg|thumb|left|image caption]]


Right-aligned

[edit]
[[image:Glass-Ball.jpg|thumb|right|image caption]]
image caption


Centred

[edit]
[[image:Glass-Ball.jpg|thumb|center|image caption]]
image caption


Size

[edit]

Caption

[edit]

To comply with WAI guidelins you should still provide alternative text for users with accessibility problems.