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 13:02] – Simon Grant | 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, ` | 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]]. | ||
| - | |||
| - | |||
| - | There is more on this in the [[uploading images]] page. | ||
| - | |||
| - | Ask us, if you would like to be shown around this tool. | ||
| - | |||
| - | ---- | ||
| - | |||
| - | ===== Basics for videos ===== | ||
| - | |||
| - | Inserting videos is not very simple. Please ask for help! | ||
| - | For more information around this subject, try [[wiki: | ||
| - | |||
| - | ==== Using the toolbar ==== | ||
| - | There is an button icon on the right of the editing toolbar for videos: {{video-icon.png|this is an illustration: | ||
| - | click on that, and a pop-up asks you to put in the full URL of the video you want. | ||
| - | |||
| - | Trying that now with `https:// | ||
| - | `{{youtube> | ||
| - | |||
| - | {{youtube> | ||
| - | |||
| - | Similarly, `https:// | ||
| - | |||
| - | {{youtube> | ||
| - | |||
| - | ==== DokuWiki syntax ==== | ||
| - | |||
| - | There are other more complex ways of embedding videos. If you want control over the size, you can write something like this:\\ | ||
| - | `{{url> | ||
| - | |||
| - | which gives you the slightly larger, left-aligned | ||
| - | |||
| - | {{url> | ||
| - | |||
| - | If you want other alignments (e.g. centering) use [[WRAP]]. | ||
| - | |||
| - | ---- | ||
| - | |||
| - | ==== Markdown syntax ==== | ||
| - | |||
| - | |||
| - | |||
| - | |||
| - | ---- | ||
| - | |||
| - | ===== Further information ===== | ||
| - | |||
| - | For more, see the more complete [[wiki: | ||
| - | |||
| - | ---- | ||