Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| doc:images_videos [2026/04/04 12:58] – external edit 127.0.0.1 | doc:images_videos [2026/04/04 18:12] (current) – removed Simon Grant | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | //part of the [[start|GtC documentation]]// | ||
| - | |||
| - | ====== Images and videos ====== | ||
| - | |||
| - | //Try out all these techniques below in the [[playground: | ||
| - | |||
| - | ---- | ||
| - | |||
| - | ===== Inserting images ===== | ||
| - | |||
| - | Both DokuWiki and Markdown syntax work for images. The first step is to know where the image is that you want to display. For external images (on the web), it could be something like `https:// | ||
| - | |||
| - | {{https:// | ||
| - | |||
| - | For internal images in DokuWiki, you need to include the [[namespace]], | ||
| - | So the location, or address, of | ||
| - | |||
| - | {{game: | ||
| - | is `game: | ||
| - | |||
| - | You can find all the existing internal images, with their correct addresses, through the Media Manager, in the {{spanner-icon.png|this is an illustration, | ||
| - | |||
| - | ==== DokuWiki syntax ==== | ||
| - | |||
| - | The most basic way of displaying an image on DokuWiki is to enclose the address of the image in double braces, with no extra spaces inside the braces, like this: `{{: | ||
| - | |||
| - | Many images are too large to display inline, and you may want them in a separate paragraph: | ||
| - | `{{: | ||
| - | |||
| - | {{: | ||
| - | |||
| - | ==== Markdown syntax ==== | ||
| - | |||
| - | In Markdown, the equivalents are ` that you want, after the address. | ||
| - | Height is adjusted in proportion. | ||
| - | |||
| - | Using the above examples: `{{: | ||
| - | |||
| - | Similarly, in Markdown, ` use [[WRAP]]. | ||
| - | |||
| - | ---- | ||
| - | |||
| - | ==== Markdown syntax ==== | ||
| - | |||
| - | |||
| - | |||
| - | |||
| - | ---- | ||
| - | |||
| - | ===== Further information ===== | ||
| - | |||
| - | For more, see the more complete [[wiki: | ||
| - | |||
| - | ---- | ||
| - | |||
| - | {{: | ||
| - | |||
| - | OK, you're keen and sure you want to go through with this approach! When you hover over the boxes in those three rows (the real thing, not the illustration above!) it will pop-up what each of them mean. Explaining these, based on the pop-up text: | ||
| - | |||
| - | ^ Link Target | Link to detail page | Direct link to original | No Link | Show only the link, not the image | | ||
| - | ^ Alignment | No align (text runs on) | Left align (to the left of ongoing text) | Middle (and text goes below) | Right align (to the right of ongoing text) | | ||
| - | ^ Image size | Small (200px) | Medium (400px) | Large (600px) | Original size | | ||
| - | |||
| - | * "Link to detail page" means that if you click on the image, it will take you to the page in DokuWiki that gives details about the image. | ||
| - | * " | ||
| - | * "No link" means what it says. | ||
| - | * "Show only the link" will give the link as text, and if you click on the text you will go to the image. | ||
| - | |||
| - | So, say you choose, by clicking on: Direct link to original; No align; Medium. The click on " | ||
| - | |||
| - | `{{: | ||
| - | |||
| - | {{: | ||
| - | |||
| - | Explore other options yourself. You can cross-compare this with the explanation in [[images videos]]. | ||
| - | |||