SNES Development
Uploading Files

Uploading Files

Users can upload files to it with the following procedure:

  1. Edit a page, and add a link of the form

    [[mypic.jpg:pic]]

    or

    [[mymovie.ogg:video]]

    or

    [[mysound.wav:audio]]

    or

    [[myfile.pdf:file]]

    Note that the filename entered here will be the filename of the uploaded file on your wiki. It need not be the same as the name of the file on your computer. Spaces in a file name will more than likely not work.

  2. Save the page, and click on the resulting link.

  3. This will bring up a file upload dialogue. Choose the file to upload, and enter a brief description.

    • For images, this description will be used as the default alt-text of the image.

    • For files, it will be used as a tooltip. It also serves as the default link text, if you don’t specify alternative link text, as below.

    • For video and audio, this will be the fallback text seen by browsers that don’t support the HTML5 <video> or <audio> elements1.

  1. Once the file is uploaded, the image, video or file link should magically appear on your page. If it doesn’t, go back and re-edit the page.

If you want to specify alternative alt-text (or link text), you can use

 [[mypic.jpg|alt text:pic]]

or

 [[myfile.pdf|link text:file]]

  1. Video, in Ogg/Theora format, is supported natively by Firefox and Opera. Safari users need to download an Ogg/Theora Component for Quicktime (available for Mac and Windows). Firefox supports audio in Ogg/Vorbis and WAV formats. Safari (with the above Component installed) supports those, plus several other audio formats supported by Quicktime.