forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: XSL for Photo Gallery
Date Mon, 22 Nov 2004 10:37:49 GMT

I once did a picture gallery for forrest. You can find the result at

When the plugin system came around I've started to adapt it to the plugin 
system, but never came around to finish it. It is almost working, but right 
now I don't have the time to finish it, because I have to write my 
PhD-Thesis. I've attached the last version to this e-mail.

It works like this:
-Uses the image directory generator from cocoon to get a list of images
(directory structure is a dir with the following dirs small, big, preview 
(where the pictures can be found in different sizes).
-gallery.xsl transforms this into valid forrest-html, which is rendered 
according to the selected skin
-To display one picture gallerybild.xsl is used. The version in the archive 
tries to use a template.xml as template, where only the picture name of the 
picture is substituted and then skinned. This dosn't work yet... So I've also 
included the old version where everything is hardcoded.

Some more ideas I had for the gallery, is to have a file comment.xml where you 
can put in comments about each picture, which are displayed under the full 
picture (maybe in the format which digikam from KDE you can edit 
your comments comfortably). Maybe also tooltips on each preview image with 
the size and other information added (would be great if the directory 
generator from cocoon could interpret exif...)

Do whatever you want with code, I thereby license it under the BSD-License.

Hope this helps,


On Sunday 21 November 2004 09.15, Alex Batlin wrote:
> I was looking for a photo gallery plugin for forrest. I found JAlbum, seems
> a very nice GUI product, but I have not found an XSL that can be plugged
> in, anyone seen one?

Dipl.-Phys. Jörg Werner
Universität Stuttgart
5. Physikalisches Institut  Telefon: 0711/685-5195
Pfaffenwaldring 57   Telefax: 0711/685-3810
D-70550 Stuttgart
Visit our Homepage:
My private Homepage:
GPG-Key fingerprint: FDD9 7AAF BD31 1F3C FD9D  7D34 C00A 22BB C0AF DFB2

View raw message