forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [JIRA] Commented: (FOR-387) Photo Album
Date Mon, 22 Nov 2004 19:24:50 GMT
The following comment has been added to this issue:

     Author: Alex Batlin
    Created: Mon, 22 Nov 2004 1:24 PM
The code assumes that the images have already been processed to provide thumbnails from originals
and that the originals are in the right size. 

Looking at the JAlbum code, a lot of image manipulation functionality is provided. So in an
ideal situation, the XSL takes the images from the dir (as it does now), but then creates
thumbnails and slide pictures according to specified attributes.

What is the best way for me to implement this functionality in forrest? Is using Java methods
frowned upon with forrest? Any hints would be good to implement the following:

1. the xml file will point at a dir with original images
2. attributes will specify slide size and thumbnail size and these will be generated during
a build
3. then the html/pdf is created using the skin

Does that make sense, any other wishes and suggested implementation routes are most appriciated.
View this comment:

View the issue:

Here is an overview of the issue:
        Key: FOR-387
    Summary: Photo Album
       Type: New Feature

     Status: Unassigned
   Priority: Minor

    Project: Forrest

   Reporter: Ross Gardler

    Created: Mon, 22 Nov 2004 6:27 AM
    Updated: Mon, 22 Nov 2004 1:24 PM

>From an email by joerg+computer.forrest at



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,


This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:

If you want more information on JIRA, or have a bug to report see:

View raw message