X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/953a959be72c021121d8d3c4a737f48bf52149fe..4f0ac7fe59c196a602e07cc6c4abfc248999ec6b:/doc/plugins/img.mdwn diff --git a/doc/plugins/img.mdwn b/doc/plugins/img.mdwn index 898609a29..6da80b7e7 100644 --- a/doc/plugins/img.mdwn +++ b/doc/plugins/img.mdwn @@ -21,7 +21,9 @@ the file pointed to by a [[ikiwiki/WikiLink]]. 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. +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". 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`