That looks fine.
One thing I forgot to ask in the last email was how are you processing
your PDF documents? This will only work if you have converted to images.
If you are converting to html then it won't work, as there won't be an
image for the first page, and also you may not even have sections.
You can check in the archive files (greenstone/collect/xxx/archives)
what metadata you have.
Another way of doing this would be to manually save the first page of
the PDF as a JPEG image, give it the same name as the document, and use
the cover image mechanism.
E.g. for book1.pdf you'd save an image as book1.jpg. This would get
associated with the PDF file as a cover image (cover.jpg). The
[DocImage] format element is a link to the cover image.
So you could use eg
[srclink]<img src="[DocImage]" height="40"/>[/srclink]
Hope this helps,
Dep.Gesti□n Documental wrote:
> I guess I should write this sequence, by only changing the xxxx by the name of my collection. Is this right? It doesn't work. What am I writing incorrectly?
> <td valign="top">[link][icon][/link]</td>
> <td valign="top">[ex.srclink]<img
> height='60' width='40'/>[ex./srclink]</td>
> <td valign="top">[highlight]
> -----Mensaje original-----
> De: Katherine Don [mailto:email@example.com]
> Enviado el: viernes, 23 de junio de 2006 7:33
> Para: Dep.Gesti□n Documental
> CC: Greenstone-users (E-mail)
> Asunto: Re: [greenstone-users] First page of the document as the icon
> In your SearchVList format statement, try e.g.
> (will display full size)
> or [srclink]<img
> height='60' width='40'/>[/srclink]
> (will display specified size)
> Dep.Gesti□n Documental wrote:
>>When you are in the results page, how can you see the image of the first page of the document, instead of the pdf icon? As well, this image of the first page would be the link to the whole pdf document.
>>Thank you very much!
>>Blanca Muyo Redondo
>>Documentalista- Departamento de Operaciones
>>Fructu□s Gelabert 2-4 08970 Sant Joan Desp□
>>Barcelona (Spain) - Saniline -
>>Tel. +34 93 477 62 60 Fax +34 93 477 62 40
>>Mail: firstname.lastname@example.org ; Web: www.saniline.com
>>greenstone-users mailing list