ikiwiki/doc/todo/Gallery.mdwn

84 lines
3.9 KiB
Plaintext
Raw Permalink Normal View History

[[!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.
2009-02-18 00:47:47 +01:00
Gallery repo is now available at <http://github.com/joeyh/ikiwiki/tree/gallery>
2007-08-20 06:17:36 +02:00
2007-08-20 06:16:16 +02:00
--[[arpitjain]]
2007-08-20 06:17:36 +02:00
----
creating a gallery of a bunch of images:
* Display Exif informations
* Display Image informations (like size, date, resolution, compression...)
* Create CSS data for customizing
* Create Thumbnails (maybe in more than one size, eg: full,1024x768,800x600,640x480)
* Descriptions for every image
* Comments
* Ratings
* Watermarks
* Some javascript for easy navigation (see [photon](http://www.saillard.org/programs_and_patches/photon/) for a good example)
It should be possible to disable every feature for every directory.
----
2007-03-15 20:19:54 +01:00
This could be split into two distinct projects. One would be to modify the [[plugins/img]] plugin to support some of these ideas for extracting and using information such as exif out of images. The other project would be to design something that handles setting up a gallery, which could be just some regular wiki pages using the img plugin, and perhaps some other custom plugins for things like ratings and javascript), and adding new images to a gallery as they are added to the wiki.
2007-03-15 20:19:54 +01:00
That's one way to do it, and it has some nice benefits, like being able to edit the gallery pages like any wiki page, to add comments about images, links, etc. An example of ikiwiki being used like that: <http://kitenet.net/~family/pics/guaimaca.html> (still room for improvement, clearly).
--[[Joey]]
[[!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 : <br>
\[[!gallery imagedir="images" thumbnailsize="200x200" cols="3" alt="Can not be displayed" title="My Pictures"]]
where-<br>
* 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.<br>
* thumbnailsize(optional) => Size of the thumbnail that you want to generate for the gallery.<br>
* alt(optional) => If image can not be displayed, it will display the text contained in alt argument.<br>
* cols(optional) => Number of columns of thumbnails that you want to generate.<br>
* title(optional) => Title of the gallery.<br>
Features of the Gallery Plugin:<br>
* You can go the next image by clicking on the right side of the image or by pressing 'n'.<br>
* Similary, you can go the previous image by clicking on the left side of the image or by pressing 'p'.<br>
* Press esc to close the gallery.<br>
* While on image, nearby images are preloaded in the background, so as to make the browsing fast.<br>
Right now, it features only one template namely [Lightbox](http://www.hudddletogether.com). Later on, I will add few more templates.<br>
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]]
2007-10-25 01:26:38 +02:00
> 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.
>
2007-10-25 01:26:38 +02:00
> --[[Joey]]
2009-02-20 16:25:47 +01:00
----
See also [[/users/smcv/gallery]] for another implementation of the same sort of
thing. Unfortunately, none of the implementation ideas
2009-10-27 07:06:23 +01:00
I have there seem quite right either... --[[smcv]]