差分
このページの2つのバージョン間の差分を表示します。
| 両方とも前のリビジョン前のリビジョン | |||
| dokuwiki:ja:images [2006/11/11] – administrator | dokuwiki:ja:images [2022/03/12] (現在) – 外部編集 127.0.0.1 | ||
|---|---|---|---|
| 行 1: | 行 1: | ||
| + | ====== 画像・メディアハンドリング ====== | ||
| + | |||
| + | You can upload and embed other files into [[DokuWiki]] pages with the [[syntax# | ||
| + | |||
| + | {{ http:// | ||
| + | |||
| + | Just use the uploadform on the lower right to upload a file. Optionally you can give a new name for the file. Be sure to keep the fileextension correct! If you use new [[namespaces]] in the name these will be created automatically. | ||
| + | |||
| + | Please note: If the wiki administrator enabled [[ACL]] support upload may be restricted to certain users. User without the proper permission will not see the upload form. | ||
| + | |||
| + | The upload feature appears to be one of the most well hidden features of DokuWiki as in 6 different installations and many visited sites, it has yet to appear, even when all visitors are given all rights! | ||
| + | It may work for some, but generally not reliably initiated :( | ||
| + | |||
| + | ===== Caching ===== | ||
| + | |||
| + | To improve the performance for the user, DokuWiki tries to cache external images. If you want to use an external image without caching you can add the '' | ||
| + | |||
| + | {{http:// | ||
| + | |||
| + | You can combine this parameter with resizing, too. | ||
| + | |||
| + | {{http:// | ||
| + | |||
| + | Hitting an external Server on every pageload isn't very polite. Instead you can use the parameter '' | ||
| + | |||
| + | {{http:// | ||
| + | |||
| + | ===== Resizing ===== | ||
| + | |||
| + | If PHP is installed with libGD support, resized versions of the embedded images are created on the server-- if no GD support is found, it's up to the browser to rescale the images after downloading. | ||
| + | |||
| + | Please note: libGD is often compiled without GIF support because of patent restrictions -- GIF images will not be rescaled if no support for them is found. | ||
| + | |||
| + | ===== Linking ===== | ||
| + | |||
| + | [[DokuWiki]] allows you to put images in a page and have them link to a page providing details about the image or to a page that contains the full image. | ||
| + | |||
| + | By default, clicking on an image brings up a " | ||
| + | |||
| + | The following syntax embeds an image in the page at full size, and clicking on this image produces a detail page providing metadata for the image: | ||
| + | |||
| + | {{wiki: | ||
| + | |||
| + | {{wiki: | ||
| + | |||
| + | You may click on the image shown on the details page to get yet another page the contains only the image, shown at its actual size. Often you'll embed the image on a page at a small size and show the image on a detail page at a medium size, so that only this final direct link provides the image at its full size. | ||
| + | |||
| + | You may instead embed an image on a page such that clicking on it brings you directly to the full image in its own page. This is called a " | ||
| + | |||
| + | {{wiki: | ||
| + | |||
| + | {{wiki: | ||
| + | |||
| + | It is also possible to embed an image in the page without having the image link to any other page. You accomplish this with the '' | ||
| + | |||
| + | {{wiki: | ||
| + | |||
| + | {{wiki: | ||
| + | |||
| + | ===== Dynamic Images ===== | ||
| + | |||
| + | Sometimes you may want to embed a dynamic image like [[http:// | ||
| + | |||
| + | Using the usual method: | ||
| + | |||
| + | {{http:// | ||
| + | |||
| + | doesn' | ||
| + | |||
| + | {{http:// | ||
| + | |||
| + | This is because [[DokuWiki]] assumes an image ends with '' | ||
| + | |||
| + | You also need to add a questionmark at the very end or DokuWiki will think the CGI params are caching options. | ||
| + | |||
| + | {{http:// | ||
| + | |||
| + | |||
| + | {{http:// | ||
| + | |||
| + | |||
| + | BTW: You can find buttonmaker webfrontends at | ||
| + | |||
| + | * http:// | ||
| + | * http:// | ||
| + | |||
| + | ===== Removing Media ===== | ||
| + | It is sometimes necessary to remove a media, which was being uploaded before. This manual lacks this information currently (and I don't know how to do it without deleting the files directly from Dokuwiki' | ||
| + | |||
| + | > The " | ||
| + | >> In the latest version of DokuWiki the garbage can icon does not appear next to the image on the " | ||
| + | >>> | ||
| + | |||