|On Fri, 2004-11-19 at 06:10, Beth Nicol wrote:
> format DocumentText "<center><table
> width=537><tr><td><a href=_ht
> tpdocument_&d=1100809223-5824-2-camel-puriri-cs-waikato-ac-nz&p=small>Switch to small version.</a><br /><a
> href=/gsdlmod?e=d-00000-00---off-0gsarch--00-0----0-10-0---0---0direct-10---4-----dfr--0-1l--11-en-50---20-preferences-Kirin+van+der+Veer--00-0-1-00-0--4----0-0-11-10-0utfZz-8-00&a=d&d=1100809223-5824-2-camel-puriri-cs-waikato-ac-nz&p=small title=View Image with
> I've looked at the source of the presented page, and sure enough - the
> <pre> text starts - the </pre> tag is never closed, and the data is
> nowhere to be found.
> I've looked at the format line 'til I'm cross-eyed and I can't see
> anything there, so my guess is that there might be a bug in the code
> when the presentation (p=small) is invoked.
Try using a flag other than the 'p' argument - greenstone already uses
this for generating pages, so it's possible that it is getting confused.
eg ...&size=full or ...&size=small and in your format string
test for _cgiargsize_.
Hope this helps.