[greenstone-users] switching between small and large images in PagedImgPlug

From Richmond,Ian
DateThu, 13 May 2004 17:17:07 -0400
Subject [greenstone-users] switching between small and large images in PagedImgPlug
I am using Greenstone 2.50 with pagedImgPlug

I have been trying to make the second suggested Document Text format example in the pagedImagePlug work, but have had no success; it reloads with the same srcicon image. Here is the original from the PagedImgPlug.pm:

# format DocumentText "<center><table width=537><tr><td><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-about-Stefan+Boddie--00-0-21-00-0--4----0-0-11-10-0utfZz-8-00&a=d&d=D3909DE84BABBB4C8C793EBC67ED9D3A0A0A74B5-exchange2-drexel-edu&p=small>Switch to small version.</a></td></tr><tr><td><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-about-Stefan+Boddie--00-0-21-00-0--4----0-0-11-10-0utfZz-8-00&a=d&d=D3909DE84BABBB4C8C793EBC67ED9D3A0A0A74B5-exchange2-drexel-edu&p=small title=Switch to small version>[srcicon]</a>'full',<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-about-Stefan+Boddie--00-0-21-00-0--4----0-0-11-10-0utfZz-8-00&a=d&d=D3909DE84BABBB4C8C793EBC67ED9D3A0A0A74B5-exchange2-drexel-edu&p=small' title='Switch to small version'>[srcicon]</a>,<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-about-Stefan+Boddie--00-0-21-00-0--4----0-0-11-10-0utfZz-8-00&a=d&d=D3909DE84BABBB4C8C793EBC67ED9D3A0A0A74B5-exchange2-drexel-edu&p=full' title='Switch to fullsize version'>[screenicon]</a>)</td></tr></table></center>

I have "fixed" the 2nd title="Switch to fullsize version' to:title='Switch to fullsize version' and added a closing ) to the second If statement.

All I get is the "Switch to small version" showing no matter how many times I click on it.
The URL of the link to switch is:
http://n2-128-247.dhcp.drexel.edu/gsdl?e=d-0-00-whywomen--00-0-0--0prompt-10---4------0-1l--1-en-50---20-small---00031-001-1-0utfZz-8-00&a=d&d=189&p=small

I am not even quite sure which macro I am referring to with the about variable.
I can display either the [srcicon] or the [screenicon] images successfully with the simple version:
<center><table width=537><tr><td>[srcicon]</td></tr></table></center>
So I think my problem is in the if statements somewhere.