Re: [greenstone-users] Making cover image of the document small

From Michael Dewsnip
DateFri, 11 Feb 2005 09:56:17 +1300
Subject Re: [greenstone-users] Making cover image of the document small
In-Reply-To (BAY16-DAV6C254B1B7310BE8CFAB3AA0710-phx-gbl)
Hi,

If the cover images are only used on the Greenstone contents pages (not
elsewhere in the documents), then the best thing to do is just resize
the images. You can use a program like Microsoft Photo Editor (Image ->
Resize) or Paint (Image -> Stretch/Skew) for this.

Otherwise, you'll have to keep the images large but tell the browser to
resize them when displayed on the contents pages. You can do this by
turning Greenstone's extended formatting options on:

format AllowExtendedOptions true

and then specifying exactly how you want the cover image/table of
contents area to look:

format DocumentHeading "<center><table width='537'>
<tr><td><center><img width=200 src='[DocImage]'>
[DocumentButtonDetach][DocumentButtonHighlight]<br>

[DocumentButtonExpandText][DocumentButtonExpandContents]</center></td>
<td>[DocTOC]</td></tr></table></center>"

The key here is the "width=200", which will make the browser resize the
cover image ([DocImage]) to a constant width.

Regards,

Michael

Librarian wrote:

>Hi,
>How can I make the cover image of the document appearing in the contents
>page of the document small?
>When I built a collection of 54 documents in gsdl 2.50, the cover image
>appearing on the contents page each document appears big.making it bad to
>look at.
>If I use the following twoformaitting commands in collect.cfg, does it make
>any difference in the case of cover image also ?
>
>collectionmeta iconcollectionsmall
>"/gsdl/collect/genbud/images/genbud.jpg"
>collectionmeta iconcollection "_
>httpprefix_/collect/genbud/images/genbud.jpg"
>
>
>
>Please suggest me ways to make the cover image small ?
>
>
>K Rajasekharan
>Librarian, Kerala Institute of Local Administration
>Mulagunnathu Kavu P O, Thrissur - 680 581 India
>----------------------------------------------------
>Ph 0487-2204097(O) , 2201428 (R)
>
>
>_______________________________________________
>greenstone-users mailing list
>greenstone-users@list.scms.waikato.ac.nz
>https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>
>
>