forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From iss...@cocoondev.org
Subject [JIRA] Closed: (FOR-387) Photo Album
Date Thu, 25 Nov 2004 00:17:50 GMT
Message:

   The following issue has been closed.

   Resolver: Ross Gardler
       Date: Wed, 24 Nov 2004 6:16 PM

There were a few problems with this code so committed with some changes (functionlaity remains
the same). Most notably:

-        Changed method of identifying pictures, it no longer users request parameters, therefore
it will work in a statically generated site as well as in a webapp.

- removed output.xmap since a plugin cannot provide input.xmap *and* output.xmap. functionlaity
in output.xmap moved to resources.xmap

- enabled display of full size image

- Added some sample pictures for docs

- Added basic documentation.
---------------------------------------------------------------------
View the issue:
  http://issues.cocoondev.org//browse/FOR-387

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

     Status: Closed
   Priority: Minor
 Resolution: APPLIED

    Project: Forrest
   Fix Fors:
             0.7

   Assignee: Ross Gardler
   Reporter: Ross Gardler

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

Description:
>From an email by joerg+computer.forrest at pi5.physik.uni-stuttgart.de

---


Hi,

I once did a picture gallery for forrest. You can find the result at 
http://schreibubi.pi5.physik.uni-stuttgart.de/gallery/lena/newcam/index.html

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 writes...so 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,

Jörg


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.cocoondev.org//secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message