X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/44b3840d87b1416377b7cfed569b61ffcc56eca7..e4b096ac411494416d73e344e0aaeaacabf2f266:/doc/plugins/contrib/gallery.mdwn diff --git a/doc/plugins/contrib/gallery.mdwn b/doc/plugins/contrib/gallery.mdwn index 318c42a80..ed9e17f32 100644 --- a/doc/plugins/contrib/gallery.mdwn +++ b/doc/plugins/contrib/gallery.mdwn @@ -1,15 +1,17 @@ +[[!template id=plugin name=gallery author="[[arpitjain]]"]] + This plugin would create a nice looking gallery of the images. It has been build over the img plugin in Ikiwiki SVN repository of plugin is located at USAGE : -\[[gallery imagedir="images" option="value"]] +\[[!gallery imagedir="images" option="value"]] Available options :
* imagedir(required) => Directory containing images. It will scan all the files with jpg|png|gif extension from the directory and will put it in the gallery.
* thumbnailsize(optional,Default=200x200) => Size of the thumbnail that you want to generate for the gallery.
- * resize(optional, Default=>800x600) => Width and Height to resize image to.
+ * resize(optional, Default=>800x600) => Width and Height to resize image to. resize="0" for turning resizing off.
* alt(optional) => If image can not be displayed, it will display the text contained in alt argument.
* cols(optional,Default=3) => Number of columns of thumbnails that you want to generate.
* rows(optional, Default=>3) => Number of Rows on a gallery page.
@@ -33,4 +35,4 @@ Additional details are available [here](http://myweb.unomaha.edu/~ajain/ikiwikig -- [[arpitjain]] -[[tag plugin]] [[tag patch]] [[tag soc]] [[tag wishlist]] \ No newline at end of file +[[!tag plugins]] [[!tag patch]] [[!tag soc]] [[!tag wishlist]]