Adding images to the OpenWrt Wiki

Avoid linking to external image sources. External sources may change or get unaccessible, leaving behind a dead image link and a lack of information. Images which have been uploaded to the wiki will stay accessible for the wiki.

Bad example of broken external images:

Therefore uploading images to the wiki is preferred over linking to external sources.

  • Click on your brand in the tree, select image to be uploaded, then click the Upload tab.
  • If your brand is not listed, select the image, then prefix the name field with the brand name, separated by “:”, e.g. yourbrand:yourmodel.jpg

Sorry, you don't have enough rights to upload files.

You are probably trying to upload to the wrong namespace: Upload is allowed only to the media namespace and the sub-namespaces contained therein (mostly for the different brands). Also, make sure you are logged in before uploading.

When the media manager opens,
your very first action should be to change to the media namespace, and possibly further down until you have reached the namespace to which you want to upload the picture.

  • After your image is uploaded, you can add it to a wiki page
  • The image URL has the form {{media:brand:model_short_text.jpg?400|Tooltip to be shown when hovering over the picture}}. You don't have to write this yourself: Use the media manager, it will help you.
  • The ?400 says to display the image 400 pixels wide (recommended size)
  • The text after the | is a tooltip that appears when hovering over the image.
    When the | and the following text are left away, the images Title (if available, see →metadata) is displayed as tooltip instead.
  • max 2MB
  • not too small (on a 640×480 of a complete PCBs you can not see details)
  • not too big (4000×3000 directly out of your DSLR are not necessary)
  • The image to be uploaded may / should be bigger than the “400” mentioned above: 400 is the width, that the image is displayed with on the wiki page; however, the image that's shown when you click on it may be bigger.
  • Leave unsharp, shaky, blurry, too dark / too bright images at home. You can and should do better.
  • Flash reflections can be avoided by
    • not shooting perpendicular, but at a slight angle.
    • not using a flash at all. Make sure to have enough lighting or a steady camera stand, in order to avoid shaky images.
  • Writings (Manufacturer, Model, ...) on main chips (SoC/CPU, RAM, Flash, WLAN, Switch, ...) should be readable. This can be tricky. Experiment with angle of lightsource / angle of camera to get good results.
  • Concentrate on what you want to show. We don't need to see excessively much of your workbench or your living room.

Avoid the errors shown here:

Unsharp
Bad example for a picture: You can do better than this! Bad example for a picture: You can do better than this!

Too much background, too little content

Unreadable chip markings

Nobody will know what 1.jpg or 20150723-123232.jpg is, nobody will find those pictures when searching for them.
Therefore: (Re-)name your images to something useful before uploading them.

  • Put at least the model in the name of the picture.
  • If you save the picture in a brand namespace, e.g. media:dlink:, you can leave out the brand in name of the picture. If you save it elsewhere, add the brand accordingly.
  • If the picture shows a certain version, add that to the name of the picture.
  • Use a few (!) descriptive words in the name (you may use more in the metadata, see below)

Examples for helpful naming of images:

  • yourmodel-v4.25_case_front.jpg
  • yourmodel-v4.25_case_rear.jpg
  • yourmodel-v4.25_pcb_top.jpg
  • yourmodel-v4.25_pcb_bottom.jpg
  • yourmodel-v4.25_serial.jpg
  • yourmodel-v4.25_jtag.jpg
  • ....
  • Use '-' within the model name, e.g. tl-mr3020.jpg
  • Use '-' to separate model name from version, e.g. tl-mr3020-v1.jpg
  • Use '_' to separate model name from any following descriptive text, e.g. tl-mr3020-v1_pcb_top.jpg

Media manager → Select image → Click Edit → Add metadata

You can add a short descriptive text in the Title field. Depending on the way you link to the image, this Title text will be shown (or not) when hovering over the image.

Default Media-Manager image-link: {{:media:bt:bthh2a_rev2_serial.jpg?300|}}

Default Media-Manager image-link: {{:media:bt:bthh2a_rev2_serial.jpg?300|With additional comment}}
With additional comment

Removed | at the end → Title of jpg will automagically be shown at mouseover: {{:media:bt:bthh2a_rev2_serial.jpg?300}}
BT HomHub2a rev2 serial

You can add more descriptive text here. Add as you like, but don't count on that it will be noticed by anyone.

Add as you like, but don't count on that it will be noticed by anyone.

  • Make sure to use a good contrast color and sufficient line thickness for any markings or text that you add to an image (e.g. serial port pins RX/TX/GND).
  • Suggestion: Add brand / model / version as text to the image, e.g. at one image border. This way, image content can be identified regardless of naming.

BT HomHub2a rev2 serial TL-WR740n v3.0

TL-WR740N v4.23 case back view

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
  • Last modified: 2022/12/02 16:34
  • by alexceltare2