Re: Thumbnails instead of icons?

From Stefan Boddie
DateTue, 21 May 2002 16:33:56 +1200
Subject Re: Thumbnails instead of icons?
In-Reply-To (00c201c1fe89$9c67af60$d62d9fca-paulslaptop)
Hi Paul,

I guess what you want is something similar to Gordon Paynters very cool
"photograph album" collection

I think Gordon has explained some of how he did it on the list at various
times, maybe you could have a search of the archives for some of his posts
(mailing list archives can be found at Failing that,
maybe if Gordon has time he could make his config files available to you to
have a look at.


----- Original Message -----
From: "Paul Mundy" <paul&#64;>
To: <>
Sent: Sunday, May 19, 2002 4:32 AM
Subject: Thumbnails instead of icons?

> Greetings from Indonesia.
> Is it possible to tweak Greenstone somehow so it displays an image
> instead of an icon in the list of found documents?
> This would be useful for collections of images: each image could be stored
> in its own HTML document, and the user could preview thumbnails, then
> on the one s/he wanted to open the full image.
> Thanks and best wishes
> Paul
> Paul Mundy
> development communication specialist
> Temporary email in Indonesia (to 7 June 2002):
> mobile 0818-168332
> DevArt: copyright-free artwork for development
> ----- Original Message -----
> From: "John R. McPherson" <>
> To: "Aurelien Benel" <>
> Cc: <>
> Sent: Saturday, May 18, 2002 5:37 AM
> Subject: Re: DateList and source files
> On Fri, May 17, 2002 at 09:41:43PM +0200, Aurelien Benel wrote:
> > Hello,
> >
> > I am trying to set a Greenstone server to deliver a PDF collection.
> > It works fine, but I would like to hide full-text (bit ugly) and show
> > only source files (PDF).
> >
> > 1. DateList doesn't show any link to the PDF source file (contrary to
> > other classifiers).
> >
> > 2. Every classifier (search results also) shows a link to the full-text.
> >
> > What should I change (in the Perl code?) in order to show PDF in
> > DateList and hide full-text in classifiers and search results ?
> Hi,
> this can be changed (at run-time) by modifying the "format strings"
> in the collection's configuration file.
> in %GSDLHOME%collect<colname>etccollect.cfg , you can add
> a format string for each classifier as well as the search results.
> If no format string is defined, greenstone defaults to having
> a link to both the indexed text and the original document (if
> it's pdf/ps/word/xls etc format).
> Add a line (or modify if it exists):
> format SearchVList "<td>[srclink][srcicon][/srclink]</td>
> <td>[Title]</td>"
> (all one line). This basically says that the vertical list
> displayed for search results consists of table rows with the
> pdf icon and the title only. You can put almost any html
> or greenstone metadata (using '[' and ']') in these, so
> experiment to find something you like!
> For the classifiers, the naming is a bit ugly but it works
> in exactly the same way.
> format CL1VList "<td> blah blah blah </td>"
> to match the first classifier, CL2VList for the second, etc.
> If you use the windows server, you will need to restart it
> after modifying the config file as the server.
> John McPherson