Difference between revisions of "How to add a picture"
Jump to navigation
Jump to search
m |
m |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
Two options: | '''Two options:''' | ||
== From an external source (website) == | |||
If you are sure of the source and think it will stay for a long time on the website, you can just put the url of the picture: | |||
Example: Click on the picture on socioeco.org [https://www.socioeco.org/bdf_fiche-video-154_fr.html here]. | Example: Click on the picture on socioeco.org [https://www.socioeco.org/bdf_fiche-video-154_fr.html here]. | ||
https://base.socioeco.org/captures/page/capture-141.jpg | https://base.socioeco.org/captures/page/capture-141.jpg | ||
But there is no way to change its dimensions. | But there is no way to change its dimensions. | ||
== From your computer == | |||
Several steps : | |||
* Upload the picture on your computer. | |||
* Go to "Edit source" | |||
* Chose where you will put your picture | |||
* Click on the "images and media" in the upper part (just next to the icone "Link") : | |||
[[File:Capture d’écran 2022-07-07 à 14.03.34.png|100px]] | |||
* A dialogue box opens. In the "file" section, put the name of your file (jpg, png, etc.). Click on upload. | |||
* In the place where you want to put the picture put the following code: <nowiki>[[File:name.jpg|200px]]</nowiki>. | |||
** If you want it bigger, put 400 px, for example. | |||
** If you want it on the left, right, center, put: <nowiki>[[File:name.jpg|left|400px]]</nowiki>, for example. | |||
** To go further, see the Mediawiki help page: https://www.mediawiki.org/wiki/Help:Images |
Latest revision as of 13:43, 7 July 2022
Two options:
From an external source (website)
If you are sure of the source and think it will stay for a long time on the website, you can just put the url of the picture: Example: Click on the picture on socioeco.org here.
But there is no way to change its dimensions.
From your computer
Several steps :
- Upload the picture on your computer.
- Go to "Edit source"
- Chose where you will put your picture
- Click on the "images and media" in the upper part (just next to the icone "Link") :
- A dialogue box opens. In the "file" section, put the name of your file (jpg, png, etc.). Click on upload.
- In the place where you want to put the picture put the following code: [[File:name.jpg|200px]].
- If you want it bigger, put 400 px, for example.
- If you want it on the left, right, center, put: [[File:name.jpg|left|400px]], for example.
- To go further, see the Mediawiki help page: https://www.mediawiki.org/wiki/Help:Images