| HOME | Anatomy_&_Biology | Behaviour | Breeding_&_Genetics | Care | Feeding | Fun_&_Games | Habitat | Health | History | Online Resources | Pet_Rats | Reviews_&_Shopping | Varieties | Help_&_Info |
Want to upload that nice, pretty, awesome photo you took? Just add the following line to a page:
[[Image(image_name.jpg)]]
Then click preview or save the page, and click on the link that is generated to upload your image.
There are various parameters you can use with this image "macro". You can make the image a thumbnail, change its alignment, add a caption, or remove its border. The possible parameters are:
-
thumbnail - makes the image a thumbnail link to the image, reducing its size on the page.
-
noborder - removes the border from the image.
-
left - aligns the image to the left side of the page, allows for text wrapping.
-
right -aligns the image to the right side of page, allows for text wrapping.
-
# - changes the size of an image by its largest dimension.
-
"caption" - adds text and wiki links to be included below the image.
Examples
Plain Image
[[Image(image.jpg)]] will display the image you upload. Pretty simple, and may be bad for larger images.
Thumbnail and Sizing
So it takes less space and allows for a cleaner page, lets reduce it down to a thumbnail.
[[Image(image.jpg, thumbnail)]] will make the image display the image as a thumbnail, which links back to the original wiki.
If you wanted to make the image or thumbnail a certain size, adding the length will reduce the image proportionally to that size.
[[Image(image.jpg, 279, thumbnail)]] will change the longer dimension to 279 pixels, keeping the scale of the image.
Captions
You may want to include helpful text below an image to add explanation, in addition you can include a link to some other site or page.
[[Image(image.jpg, thumbnail, "A photo by ["users/AnnetteRand"]")]] will add the caption to the page.
A photo by AnnetteRand
Alignment on Page
An image might be in the way of text, or maybe you just want the image to be to the right.
[[Image(image.jpg, right, thumbnail)]] will create an image thumbnail to the right.
Any text below or after the image will appear alongside it rather than below or above it.
You can center an image (as long as it's neither a thumbnail nor captioned) by surrounding the image reference with --> and <--l.
You can also allow wrapping text by aligning the image to the left side of the page.
[[Image(image.jpg, left, thumbnail)]] will align the image to the left. This allows you to put text alongside the image, rather than breaking up the text.
Removing the border
Sometimes a border may not look so great for the page, thus the noborder option.
[[Image(image.jpg, thumbnail, noborder)]] Has an image without a border.
Example
Lets put it all together, a sized image thumbnail, aligned to the right of the screen.
[[Image(image.jpg, right, 279, thumbnail, "Party Bag")]]
Multiple Images and Separators
You can add multiple images or thumbnails by simply repeating the macro; there's an example of two images in a line below.
If you're adding a bunch of images as thumbnails, then this can end up looking strange because images can 'stack' on top of each other. Sometimes you don't want the text or the next image to 'float' over to the right or left side.
Headings are what you should use, in general, to divide pages into logical sections. As such, headings have the effect of sectioning off groups of images. Sometimes, when you're dealing with images, you don't want an actual heading, but just the "sectioning off" effect. To get this, just use ==== to force a section break in the page. You can think of this as a sort of "empty" heading.
A vertical column is created by having the images all aligned to either the right or left hand side of the page.
Rats mm
Yay rats
Column Images on another website
You can embed images from other websites without uploading them to the wiki. Just paste the URL of the image into the page and the image will appear. In general, it's a good idea to upload images directly to the wiki if you want to use them for a long period of time.
Notes
You can currently place a single image on a page only once. In this example we used different filenames to allow us to put the same image on the page over and over. You usually won't need to put the same image on a page more than once.
In addition, you cannot put an image tag on the same line as a header or section break.
How can I put the same image on multiple pages?
Right now, you'll probably want to just upload the image to the different pages. You might be able to accomplish what you want using the Include macro to include a page inside of other pages.




