Images

Images can be embedded into Wikiversity pages, whether from existing images on Wiki commons or Wikiversity, or you can upload images yourself if they have appropriate open licenses.

Embedding an image

An example of an image file which has been uploaded to Wiki commons is File:Happy face.svg.

To place (or "embed") this image, simply use [[File:Happy face.svg‎]] in a page where you want the image to appear. You can also use the "embedded file" tool which is in the editing toolbar.

Reducing the size of an image file

By default the image will often be too large, but it can be re-sized e.g., like this [[File:Happy face.svg‎|200px]] - where "200px" indicates a width of 200 pixels (note the vertical bar | - it is not the letter l)

and you will see this

To make it even smaller, for example, try [[File:Happy face.svg‎|50px]]

and you will see this
A thumbnail image.

Creating a thumbnail image

You can create "thumbnails" (provides a frame and a space for a caption) using: [[File:Happy face.svg|thumb|80px|A face]] Adding a caption is optional.

Aligning an image

Alignment is optional. Options are: Left (default), center, or right.

A left-aligned thumbnail image.
A right-aligned thumbnail image.
A centre-aligned thumbnail image.

The images above were created with this syntax:
[[File:Cscr-featured.svg|thumb|80px|left|A left-aligned thumbnail image.]]
[[File:Cscr-featured.svg|thumb|80px|right|A right-aligned thumbnail image.]]
[[File:Cscr-featured.svg|thumb|80px|center|A centre-aligned thumbnail image.]]

Creating a gallery of images

You can add a gallery of images to a page by adding the <gallery> tag. For example adding:

<gallery>
File:Fichtennadel.jpg
File:Abies concolor leaves.jpg
File:Pinus strobus needles.jpg
File:Needle Leaves at Tree Top.jpg
File:Hjálmfura 02-5d.jpg|5 day old Pinus pinea
File:Seekiefer (Pinus halepensis) 9months-fromtop.jpg|9 months old Pinus halepensis from the top
</gallery>

gives:

Note that sizing of images is automatic, but that image descriptions may be added. Note also that the double brackets (as in [[File:Fichtennadel.jpg]]) are not used.

Linking to an image

If you want to link to an image, and not embed it onto a page, you can use a colon before the image name. For example, [[:File:Fichtennadel.jpg]] - giving: File:Fichtennadel.jpg