summaryrefslogtreecommitdiff
path: root/doc/plugins/img.mdwn
diff options
context:
space:
mode:
Diffstat (limited to 'doc/plugins/img.mdwn')
-rw-r--r--doc/plugins/img.mdwn4
1 files changed, 3 insertions, 1 deletions
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`