X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/4e697ad425694a943bb494191dabe54ffeeb0f24..decb7051f6436aedfd0e9de934d149d9c5b22b36:/doc/todo/Gallery.mdwn?ds=sidebyside diff --git a/doc/todo/Gallery.mdwn b/doc/todo/Gallery.mdwn index ef4c55d74..f41980333 100644 --- a/doc/todo/Gallery.mdwn +++ b/doc/todo/Gallery.mdwn @@ -1,3 +1,13 @@ +[[!template id=gitbranch branch=origin/gallery author="[[arpitjain]]"]] + +New Version of gallery is available now. Few more features have been added like support for multiple pages, sorting and resizing of images etc. + +Gallery repo is now available at + +--[[arpitjain]] + +---- + creating a gallery of a bunch of images: * Display Exif informations @@ -20,4 +30,54 @@ That's one way to do it, and it has some nice benefits, like being able to edit --[[Joey]] -[[tag soc]] \ No newline at end of file +[[!tag soc]] + +[[!tag wishlist]] + +---- + +I have implemented the first version of the Gallery Plugin for Ikiwiki as part of [[soc]]. This plugin would create a nice looking gallery of the images once the directory containing images is specified with some additional parameters. It has been build over the img plugin. + +Plugin can be downloaded from [here](http://myweb.unomaha.edu/~ajain/gallery.tar). + +It can be used as :
+\[[!gallery imagedir="images" thumbnailsize="200x200" cols="3" alt="Can not be displayed" title="My Pictures"]] + +where-
+* imagedir => 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) => Size of the thumbnail that you want to generate for the gallery.
+* alt(optional) => If image can not be displayed, it will display the text contained in alt argument.
+* cols(optional) => Number of columns of thumbnails that you want to generate.
+* title(optional) => Title of the gallery.
+ +Features of the Gallery Plugin:
+* You can go the next image by clicking on the right side of the image or by pressing 'n'.
+* Similary, you can go the previous image by clicking on the left side of the image or by pressing 'p'.
+* Press esc to close the gallery.
+* While on image, nearby images are preloaded in the background, so as to make the browsing fast.
+ +Right now, it features only one template namely [Lightbox](http://www.hudddletogether.com). Later on, I will add few more templates.
+For any feedback or query, feel free to mail me at arpitjain11 [AT] gmail.com + +Additional details are available [here](http://myweb.unomaha.edu/~ajain/ikiwikigallery.html). + +[[!tag patch]] + +> I'd love to merge this into ikiwiki. +> +> However, lightbox.js is licensed under a non-free (Creative Commons) license. :-( +> +> Since I don't much like the lightbox effects anyway (too much resizing +> motion, too slow), I wonder if another template could be added, perhaps +> a free one? +> +> Now that ikiwiki is in git, I've downloaded the most recenty version of +> the gallery and put it in a "gallery" branch of my git repository. +> +> --[[Joey]] + +---- + +See also [[/users/smcv/gallery]] for another implementation of the same sort of +thing. Unfortunately, none of the implementation ideas +I have there seem quite right either... --[[smcv]]