Gallery Plugin for Ikiwiki

Ikiwiki is a wiki compiler. It converts wiki pages into HTML pages suitable for publishing on a website. You can read more about it here.

As a part of Google Summer of Code, I have implemented the initial version of the Gallery Plugin for Ikiwiki. I am using one similar version here. This plugin is implemented using Lighbox2.03. The plugin creates a nice looking gallery of the images, once the directory of images is specified. I would soon be adding features to display meta contents of images also.

Gallery Plugin can be downloaded from here.

Details about the files :
gallery.tmpl and page.tmpl => Template files which have to be put in template directory.
gallery.pm => Plugin File to be put into the Plugins directory.
Rest all files and folders are javascripts for creation of gallery which have to be put in base directory.

Plugin 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 => Size of the thumbnail that you want to generate for the gallery.
- alt => If image can not be displayed, it will display the text contained in alt argument.
- cols => Number of columns of thumbnails that you want to generate.
- title => 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. Lightbox can be downloaded from http://www.huddletogether.com. Later on, I will add few more templates.
For any queries or feedback, please mail me at arpitjain11 [[AT]] gmail.com
Visit here for more details as I will keep on updating here. :)

Last Modified: Wednesday, July 4th, 2007 @ 00:35

This entry was posted on Wednesday, July 4th, 2007 at 12:35 am and is filed under google, ikiwiki, soc. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply