Help:Images

Important note: When you edit this page, you agree to release your contribution into the public domain. If you don't want this or can't do this because of license restrictions, please don't edit. This page is one of the Public Domain Help Pages, which can be freely copied into fresh wiki installations and/or distributed with MediaWiki software; see Help:Contents for an overview of all pages. See Project:PD help/Copying for instructions.

This page explains the image syntax when editing the wiki. You or another user must usually upload an image before you can use it on a page.

Note that link cannot be used in conjunction with thumb as thumb is always meant to link to the larger version of the image. In addition, link cannot be used with frame.

alt={alternative text}: For changing the alternative text (alt="") of an image

Special cases:

page=1: Displays the specified page when showing a djvu or pdf file

The options can be given in any order. If the given options conflict each other, the latter is applied, except for the format options, where the options take the priority in the order of frame, thumb, and frameless and/or border.

If a given option does not match any of the other possibilities, it is assumed to be the caption text. Caption text can contain wiki links or other formatting. If no caption text is supplied a caption is automatically created showing the file name; to completely remove the caption, set it to <span title=""></span>. For example, [[File:Example.jpg|20px|<span title=""></span>]] → .

Size and Frame

Among different formats, the effect of the size parameter may be different, as shown below.

When the format is not specified, or only bordered, the size can be both reduced and enlarged.

An image with frame always ignores the size specification.

The size of an image with thumb and frameless can be reduced, but can not be enlarged beyond the original size of the image.

For how it appears when its size is not specified, see Format section above.

Format

Reduced

Enlarged

[[File:Example.jpg|50px]]

[[File:Example.jpg|500px]]

[[File:Example.jpg|50px]]

[[File:Example.jpg|500px]]

[[File:Example.jpg|50px]]

[[File:Example.jpg|500px]]

[[File:Example.jpg|50px]]

[[File:Example.jpg|500px]]

[[File:Example.jpg|50px]]

[[File:Example.jpg|500px]]

Stopping text flow

On occasion it is desirable to stop text from flowing around an image. Depending on the web browser's screen resolution and such, text flow on the right side of an image may cause a section header (for instance, == My Header ==) to appear to the right of the image, instead of below it, as a user may expect. The text flow can be stopped by placing <br style="clear: both" /> before the text that should start after the image.

Gallery of images

It's easy to make a gallery of thumbnails only, not other images, with the <gallery> tag. The syntax is: