Note: You can only add an image to a page after you have uploaded the image to the GCwiki.
Below is the code for placing an image (Monitors.jpg) uploaded to the Wiki on a page, and the result.
Alt Text
It is also recommended to add a caption to an image, using the pipe character. This alt text will appear when a user hovers their mouse over the image. This is an important feature for accessibility.
Thumbnails
You can also add the image to a page as a thumbnail (smaller version) by following the code below. "thumb" tells the Wiki the image is to be added as a thumbnail, and "100px" tells the Wiki to make it 100 pixels wide.
Aligning Images
To align an image to the left or centre, simply add "left" or "center"(note U.S. spelling) as shown in the codes below.
Image Gallery
The basic syntax for creating a gallery looks like this:
The File: line can be repeated for as many images as you have to display. To add a gallery to a new or existing wiki page:
- Copy the text above in the box
- Navigate to your new page
- Paste the scaffold to re-create this layout on your own page
- Copy and paste the File: line for each image you wish to add
Larger pictures are automatically scaled in size to match the Wiki standard dimensions of the gallery, and the number of images on each row of the gallery adjusts according to the dimensions of the display the gallery is being viewed on.