Re: [greenstone-users] Problem on Images

From qq6@cs.waikato.ac.nz
DateFri, 17 Nov 2006 16:41:07 +1300 (NZDT)
Subject Re: [greenstone-users] Problem on Images
Hi lee koong

> I am referring to an example on this URL >>
> http://diglib.auburn.edu/gsdl/cgi-bin/library?site=localhost&a=p&p=about&c=postcard&ct=0&l=en&w=utf-8
>
> My project is similar to this example. Say I search for "Church". From the
> result page, I am able to see the caption for the image (like what is
> being displayed)

To display the image associated with matedata, you need to edit the
feature: "DocumentText" which can be found from the "Choose Feature" list
on the Format panel. An example of setting "DocumentText" is below:

<table width="100%" border="0">
<tr> <td align="center">Image name:[ex.Title]</td> </tr>
<tr> <td align="center"> {If}{[Image], <img
src="/gsdl/collect/img/index/assoc/[assocfilepath]/[ex.Image]" /> }
</td></tr>
</table>

[link][icon][/link] is leading to link the content above.

> Qns:
> 1) When I click on the image, it open a new page with the image size
> enlarged. How to achive this?

You can achieve it by setting the width and height of the image, such as:
<img src="/gsdl/collect/img/index/assoc/[assocfilepath]/[ex.Image]"
width="[ex.ImageWidth]" height="[ex.ImageWidthHeight]" />


>
> 2) Assume this image is found in xxx.html file. How can I achive the
> following: Click on image and xxx.html file will appear?

I am not sure about this question. Is this .html file is an external file
or html files are documents?

>
> Thanks
>
> lee koong
>
> _______________________________________________
> greenstone-users mailing list
> greenstone-users&#64;list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>