Images
From Primary Surgery
Contents |
Adding a new image to the Wiki
Step 1: Insert an image link in your page
- To add an image to the Wiki, first edit a page where you want the image to appear.
- Click on the add image icon from the toolbar above the edit box.
- Save the page you are editing.
- Give your image a filename, which users of the Wiki will see.
Example:
[[Image:My_New_Image.jpg]]
Warning: Make sure that you include the file "extension" that your image uses, such as .jpg, .gif, .png and so on.
Step 2: Upload the image to the Wiki
- Click on the place-holder link for your new image.
- You will be taken to a page similar to the one displayed below.
- Click the Browse button by the "Source filename" field of the form.
- Select the image you want to upload from among the files on your computer.
- Leave "Destination filename:" as it is, this is the name you chose for the image in Step 1, above.
- In the "Summary:" field, enter a description of what the image is, and any other details that might be important to other Wiki users.
- Click on the Upload file button.
- You will be brought to your image's Wiki page, which includes various information about your newly uploaded image.
Warning: Please do not upload copyrighted images to the CNIS Primary Surgery Wiki!
Changing the appearance of the image
You can change a variety of image properties, the most important of which are listed below.
Default image appearance
This is how your image will appear if you do not modify any of its properties.
Adding an image frame
To add a frame around an image's border, the keyword "frame" needs to be added to the image link.
This image link:
[[Image:Help_Macaw.jpg|frame]]
Produces this image:
Adding an image caption
To add text to go along with your image, you need to use the keyword "frame" and enter the text of the caption.
This image link:
[[Image:Help_Macaw.jpg|frame|This is my image caption]]
Produces this image:
Aligning the image to the left
To align the image on the left side of the page, the keyword "left" must be added to the image link.
This image link:
[[Image:Help_Macaw.jpg|frame|left|This is my image caption]]
Produces this image:
Important note about image frames and alignment
If your image is in a frame then text on the page will wrap around it. This is usually desirable, allowing you to have a paragraph of text around your image. However, when you add another image, or if you are starting a new topic, you probably do not want it to remain wrapping around your first image.
To stop the Wiki from wrapping around an image, use the following code:
{{-}}
Any text after the {{-}} will appear on the line below the image.




