Re: [greenstone-users] Problem on Images

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 >>
> 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="_httpprefix_/collect/img/index/assoc/[assocfilepath]/[ex.Image]" /> }

[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="_httpprefix_/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