Help:Images and multimedia
From WikiLectures
Contents |
Uploading a file
- Click on link Upload file in left toolbox.
- On page Upload file click on button Browse and select file.
- To field Destination filename enter a suitable name of the file. The filewill be used in WikiLectures many times and it is better if the file has simple and suitable name e.g. “Structure of Hem” is better than “IMG120907_Hb.jpg”.
Uploading new version of file
To upload new version of existing file go to the file page and click on the link Upload a new version of this file under the description tab of the file. You must fill in the form similar to the uploading form.
Images
It is wanted to illustrate articles with images. If you want to insert the image into your article, you must be logged in. Then can you upload the image into WikiLectures server as described in the text above.
Inserting image into the article
In place you want to insert the image add this syntax:
[[Image:Image name | parameters | title]]
Use the name of the image you entered when uploading it to the server. Don’t forget the image format (.jpg, .png).
Following parameters aren’t obligatory. You write it behind the vertical bar | (key shortcut: right Alt+W). The second "thumb" parameter forces the creation of a thumbnail or image placement.
| Parameter | Description |
|---|---|
right |
on the right side of the text; |
left |
on the left side of the text; |
center |
in center of the page; |
| width in pixel (e.g. 150px) | image will be resized to set width; |
thumb |
appears image as a thumb on right side of text (standard width 180px); |
- if you want to place it to the center or left side, add parameter
centerorleft; - full sized image can be displayed by clicking on the thumb;
Image caption is the text that appears by aiming the cursor at the image. Aiming at thumb displays the caption below the thumb.
Copyrights
Be careful with copyright. It is better to use your own images. In case of using other image than yours – don’t forget to fill all the gaps and select appropriate license. See also author law page.
Sounds
Do you want to play heart sounds or stethoscope records at WikiLectures? It is very simple and usage depends on its format. First of all you must be logged in and upload a file to WikiLectures server.
MP3 records
If you use the mp3 format, the file can be uploaded anywhere on the internet. Use this syntax:
<flashmp3>http://www.example.com/pulmonaremboly.mp3<flashmp3>
OGG sounds
If you use the ogg format, the file has to be uploaded at WikiLectures or Wikimedia Commons. And the syntax is similar to images:
| Code | Description |
|---|---|
[[File:Video.ogg]] |
Display a video at its nominal size. Displays a still image from the midpoint with a play button to start an embedded player. |
[[File:Audio.ogg]] |
Show a placeholder for a sound file, with a play button to start an embedded player. |
[[File:Video.ogg|thumb]] |
Show a video in a floating thumbnail box |
<gallery>File:Video.ogg</gallery> |
Show a video embedded in an image gallery |
[[File:Video.ogg|noicon]], [[File:Audio.ogg|noicon]] |
Hide the help icon. |
[[File:Video.ogg|noplayer]], [[File:Audio.ogg|noplayer]] |
Show still image or placeholder icon only, do not embed player. |
[[File:Video.ogg|thumbtime=1:25]] |
Use a frame from 1 minute 25 seconds into the video as the placeholder image. A single number is taken as an offset in seconds. |
Flash animations
You can use flash animations in your article. These can be uploaded anywhere on the internet, just use the <swf> tag and insert a URL address:
<swf width="550" height="400">http://www.example.com/flash.swf</swf>
Parameters width and height define the width and the height of the animation in your article.
Silverlight animations
Files with interactive animation (Silverlight) can be inserted into the article using the <silverlight> tag with a url address of the animation. These files must be uploaded to the WikiLectures server as described above. As the included text please use the name of a file (without the namespace “File:”).
<silverlight width="550" height="400">Silverlight.xap</silverlight>