Help:Images

From ELDWiki

Jump to: navigation, search
Staff wiki help pages
Main help page
Help topics

Getting started
Accounts
Editing syntax
Creating new pages
Categories
Images
Templates
RSS
Uploading files

Learning more

Other resources

Contents

Images

You can upload images and some other types of files (such as text documents) for use on the wiki. To insert an image in an article, it first has to be uploaded.

Uploading

To upload an image, you must be logged in to the site. Go to “upload image” on the left-hand sidebar, or visit special:upload.

Inserting images

Use the following syntax to insert an image on a page:

[[Image:nameofimage.jpg]]

Images may be floated to the left or right of the text:

[[Image:nameofimage.jpg|left]] or [[Image:nameofimage.jpg|right]]

You can display an image as a thumbnail, which will automatically size the image to xxx? And place a caption below it:

[[Image:nameofimage.jpg|thumb|This is an image]] 

“This is an image” will display as a caption below the images. Captions should be descriptive of the image; they can include internal or external links as necessary.

Images can also be sized to any size:

[[Image:nameofimage.jpg|300px|left|This is an image]] 

This will display the image at 300 pixels, left-aligned, with “This is an image” displayed as alt text on mouseover. To add the text as a caption instead to an image of any size, use the frame tag:

[[Image:nameofimage.jpg|frame|300px|This is an image]]. 

Other media files

Other media files may also be used on the wiki. Media files – such as sound files, word documents, pdfs, etc. – are uploaded in the same way as images, but must be linked to by replacing “image” with “media.” For example:

[[Media:nameoffile.pdf]]

Currently, the following types of files may be uploaded to this wiki:

  • .doc (word documents)
  • .ppt (powerpoints)
  • .xls (excel spreadsheets)
  • .txt (text files)
  • .pdf (pdfs)


The steps and various methods for linking to uploaded files are listed below:

  1. Choose Upload file.
  2. Locate and upload file (okay to ignore warning about size).
  3. Right click on the file name.
  4. Choose Copy Link Location.
  5. Go to the page in which you want to add the file.
  6. Edit and paste the link into the page.
  7. To link to a file with the URL displaying, simply paste the link into the page:
    http://eldwiki.lib.ucdavis.edu/images/d/da/Chempropertysources.xls
    this will display as: http://eldwiki.lib.ucdavis.edu/images/d/da/Chempropertysources.xls
  8. To link to a file and display a title rather than the full URL, add as below:
    [http://eldwiki.lib.ucdavis.edu/images/d/da/Chempropertysources.xls Chemical Property Sources]
    this will display as: Chemical Property Sources
  9. To link to a file using internal linking with a title displaying, add 2 brackets, the word Media, a colon, the file name, a pipe, the title, then 2 closing brackets:
    [[Media:Chempropertysources.xls|Chemical Property Sources]]
    this will display as: Chemical Property Sources
  10. Click "save page" to save edits.

Watch a short video (~25 MB .swf file) showing the steps outlined above.

Links