Help:Images and multimedia

From WikiLectures

(Redirected from Help:Uploading of images)

You can insert an image or embed a video or sound player in the article. You can either insert a file from Wikimedia Commons, a Wikimedia project, or upload a new file locally to WikiLectures.

Using Wikimedia Commons

Wikimedia Commons (or simply Commons) is an online repository of free-use images, sound and other media files. It is a project of the Wikimedia Foundation.

If you want to use any file from Wikimedia Commons, find its name and use it the same as if it was uploaded at WikiLectures (and is described below). WikiLectures are connected directly with Wikimedia Commons and there is no need to download pictures from Wikimedia Commons and upload it to WikiLectures again. If you are not sure what that means, feel free to contact our editorial board. We are here to help you!

Uploading a file to WikiLectures

  • 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”.

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

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.

To insert the image to the article, use 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 center or left;
  • 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.

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.

Video

To insert a video, use Template:Video. The syntax is simple:

 {{Video | url = https://www.medicalmedia.eu/cs/Detail/6116}}

The url parametr is the base URL address of the video from YouTube, MedicalMedia, or Vimeo. Copy that address from your browser's address field.

For example:

{{Video | url = https://www.youtube.com/watch?v=8dfyvSRsKas}}
{{Video | url = https://www.medicalmedia.eu/cs/Detail/6116}}
{{Video | url = https://vimeo.com/470072724}}

This will embed a video player directly in the article.

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.

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.