Difference between revisions of "Help:Images"
m (1 revision imported: Resources from GCPedia) |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | ||
− | + | ||
{{TOCleft}} | {{TOCleft}} | ||
{{Clear}} | {{Clear}} | ||
= Uploading Media = | = Uploading Media = | ||
− | You can upload images and other files to | + | You can upload images and other files to the Wiki, as long as they are resident on your computer and acceptable file types. Simply click on the '''upload file link''' in the toolbox on the left-hand side of any Wiki window. Once you are in the upload file page, click on the browse button and navigate to the file in your computer. Click on the file, and the wiki will fill the second box with the file’s name. You have an opportunity to change the name if you like, and can also add comments to the summary box if necessary. |
− | |||
Line 58: | Line 57: | ||
| will appear as [[Media:your_file_name.doc]] | | will appear as [[Media:your_file_name.doc]] | ||
|} | |} | ||
− | If you uploaded a file with spaces in the file name you can change them to underscores or <nowiki>%20</nowiki> instead of spaces, or just leave the spaces in and | + | If you uploaded a file with spaces in the file name you can change them to underscores or <nowiki>%20</nowiki> instead of spaces, or just leave the spaces in and the Wiki will figure things out. However if you want to use a caption after the pipe symbol you'll need to change the spaces. |
− | [[Category: | + | [[Category:Wiki_Help]] |
[[Fr:Aide:Images]] | [[Fr:Aide:Images]] |
Latest revision as of 09:31, 11 June 2018
Uploading Media
You can upload images and other files to the Wiki, as long as they are resident on your computer and acceptable file types. Simply click on the upload file link in the toolbox on the left-hand side of any Wiki window. Once you are in the upload file page, click on the browse button and navigate to the file in your computer. Click on the file, and the wiki will fill the second box with the file’s name. You have an opportunity to change the name if you like, and can also add comments to the summary box if necessary.
Conflicts
Sometimes there will already be a file with the same name as the file you are trying to upload. When this happens, you are presented with a link to the existing file, which you can click to view, and a choice of two options:
- Save File: Clicking this button will overwrite the existing file, so it is highly recommended that you know what the existing file is before doing so.
- Re-upload: Click this button to go back and specify a new name for the file, if you do not wish to overwrite the existing file.
Images
In the examples given below, note that Image: and File: can be used interchangeably in wiki markup. |
After you have the image, putting it in the page is a simple matter. Below is the code for placing an image uploaded to the wiki on a page, and the result.
[[Image:Monitors.jpg]]
Alternatively, you can add a caption to an image, using the pipe character. This "alt" text will appear when a user hovers their mouse over the image.
[[Image:Monitors.jpg |You are hovering over me!]]
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.
[[Image:Monitors.jpg |thumb|100px|Caption goes here]]
As you can see, the above image is automatically shifted to the right. To align it to the left or centre, simply add "left" or "center"(note U.S. spelling) as shown in the codes below.
[[Image:Monitors.jpg |left]] [[Image:Monitors.jpg | center]]
MS-Word (.DOC) or Portable Document Format (.PDF) Documents
To create a link to a media file other than an image (i.e. .PPT, .PDF, .DOC), use Media: instead of Image:
[[Media:your_file_name.doc | Caption for the file]] |
will appear as Caption for the file |
[[Media:your_file_name.doc]] |
will appear as Media:your_file_name.doc |
If you uploaded a file with spaces in the file name you can change them to underscores or %20 instead of spaces, or just leave the spaces in and the Wiki will figure things out. However if you want to use a caption after the pipe symbol you'll need to change the spaces.