From 7eb25906c17c836c91cc84985cb20d2c27081370 Mon Sep 17 00:00:00 2001 From: Brian Mattern Date: Mon, 26 Mar 2012 17:19:10 -0700 Subject: [PATCH] clean up docs --- hyde/ext/plugins/images.py | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/hyde/ext/plugins/images.py b/hyde/ext/plugins/images.py index e5215e2..69b17a2 100644 --- a/hyde/ext/plugins/images.py +++ b/hyde/ext/plugins/images.py @@ -200,18 +200,26 @@ class ImageThumbnailsPlugin(Plugin): include: - '*.png' - '*.jpg' - - lfrom every picture arger: 100 + - larger: 100 prefix: thumbs3_ include: - '*.jpg' - which means - make three thumbnails from every picture with different prefixes + - smaller: 50 + prefix: thumbs4_ + include: + - '*.jpg' + which means - make four thumbnails from every picture with different prefixes and sizes - If both width and height defined, image would be cropped, you can define - crop_type as one of these values: "topleft", "center" and "bottomright". - "topleft" is default. + It is only valid to specify either width/height or larger/smaller, but not to + mix the two types. + + If larger/smaller are specified, then the orientation (i.e., landscape or + portrait) is preserved while thumbnailing. - XXX fix docs for larger/smaller + If both width and height (or both larger and smaller) are defined, the + image is cropped. You can define crop_type as one of these values: + "topleft", "center" and "bottomright". "topleft" is default. Currently, only supports PNG and JPG. """