User talk:Duncharris/images
From Wikipedia, the free encyclopedia
replacement for Wiki image markup since that is poo.
Contents |
[edit] Quick job
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.
[edit] Overview
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.
[edit] Left, right or center?
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,
[edit] Left-aligned
[[image:Glass-Ball.jpg|thumb|left|image caption]]
[edit] Right-aligned
[[image:Glass-Ball.jpg|thumb|right|image caption]]
[edit] Centred
[[image:Glass-Ball.jpg|thumb|center|image caption]]
[edit] Size
[edit] Caption
To comply with WAI guidelins you should still provide alternative text for users with accessibility problems.