Help:Image
From TEFLChina
- Upload an image to the wiki--click Upload file in toolbox in left sidebar--unless the image is already on the wiki.
- Then display it on a wiki page using this wiki markup syntax with or without options:
[[File:Example.xxx | option | option ]]
zero or more of the following options may be declared in any order: frame | left | center | right | <width>px | thumb | border | some caption *anything not matching an option is used as alt text or, with frame or thumb, a caption.
- width is a number + px, example: 200px. Width does not work with frame and with thumb only works for sizes up to full size.
- frame presents image at actual size.
- thumb presents image at a default thumbnail size.
- caption text only works with thumb or frame, otherwise it is hover text.
| What it looks like | What you type |
|---|---|
[[File:Apple.gif|frame|Yum yum]] frame floats right by default | |
[[File:Apple.gif|frame|Yum yum|left]] | |
[[File:Apple.gif|Yum yum]] without frame, caption becomes alt text--hover mouse over image to see | |
[[File:Apple.gif|300px]] | |
[[File:Apple.gif|40px]] | |
[[File:Apple.gif]] | |
[[File:Apple.gif|left]] | |
[[File:Apple.gif|center]] | |
[[File:Apple.gif|right]] | |
[[:File:Apple.gif]] adding an initial colon (:) makes it a text link to the image's page |
