X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/eb92d09360e871f4af059c30e70cf7f0b24315e2..5e4767a594f238327a4c74f1aecc69779a237eab:/underlays/basewiki/directive/img.mdwn diff --git a/underlays/basewiki/directive/img.mdwn b/underlays/basewiki/directive/img.mdwn index d8c9f359f..cfcafc3b3 100644 --- a/underlays/basewiki/directive/img.mdwn +++ b/underlays/basewiki/directive/img.mdwn @@ -2,7 +2,7 @@ The `img` directive is supplied by the [[!iki plugins/img]] plugin. This is an image handling directive. While ikiwiki supports inlining full-size images by making a [[ikiwiki/WikiLink]] that points to the image, using -this plugin you can easily scale down an image for inclusion onto a page, +this directive you can easily scale down an image for inclusion onto a page, providing a link to a full-size version. ## usage @@ -16,7 +16,7 @@ The `size` parameter is optional, defaulting to full size. Note that the original image's aspect ratio is always preserved, even if this means making the image smaller than the specified size. You can also specify only the width or the height, and the other value will be calculated based on -it: "200x", "x200". +it: "200x", "x200" You can also pass `alt`, `title`, `class` and `id` parameters. These are passed through unchanged to the html img tag. If you include a `caption`