Difference between revisions of "How to add a picture"

From Solecopedia v2
Jump to navigation Jump to search
m
m
Line 17: Line 17:
* Chose where you will put your picture
* Chose where you will put your picture
* Click on the "images and media" in the upper part (just next to the icone "Link") :  
* 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|200px]]
[[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 File:name.jpg|200px with two [[ on each side. If you want it bigger, put 400 px, for example.If you want it on the left, right, center, put: File:name.jpg|left|200px with two [[on each side, for example.
* 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|400px]]</nowiki>, for example.

Revision as of 13:38, 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. capture-141.jpg

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") :

Capture d’écran 2022-07-07 à 14.03.34.png

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