Difference between revisions of "How to add a picture"
Jump to navigation
Jump to search
m |
m |
||
Line 19: | Line 19: | ||
[[File:Capture d’écran 2022-07-07 à 14.03.34.png|100px]] | [[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. | * 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>. | * 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 bigger, put 400 px, for example. | ||
** If you want it on the left, right, center, put: <nowiki>[[File:name.jpg|400px]]</nowiki>, for example. | ** If you want it on the left, right, center, put: <nowiki>[[File:name.jpg|400px]]</nowiki>, for example. | ||
** To go further, see the Mediawiki help page: https://www.mediawiki.org/wiki/Help:Images | ** To go further, see the Mediawiki help page: https://www.mediawiki.org/wiki/Help:Images |
Revision as of 13:41, 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|400px]], for example.
- To go further, see the Mediawiki help page: https://www.mediawiki.org/wiki/Help:Images