Re: [greenstone-users] adding images to null documents

From ruben pandolfi
DateMon, 22 Jan 2007 12:00:48 +0100
Subject Re: [greenstone-users] adding images to null documents
In-Reply-To (50904-130-217-244-2-1169426060-squirrel-webmail-scms-waikato-ac-nz)
Thank you Shaoqun,

I think I can make it works with:

/gsdl/collect/[collection]/myimages/xxx.jpg

but wich is the variable that print document number?

I see it is printed in the window title , e.g. " 00000199 " for
00000199.nul and have :

<title>00000199</title>

but no info about it in the wiki. ([DocOID] is a different number)

I will call my images the same and use the document number to build
dynamic string and find come way to make display IF the image exists.

Thank you

ruben

sw64@cs.waikato.ac.nz ha scritto:
> Hello ruben,
>
> Currently, NULPlug that propresses null files doesn't support cover
> images, but you still can put images somewhere in your collection and
> access them. For example, if your images is in
> collect/collect_name/myimages, they can be accessed by using
> /gsdl/collect/[collection]/myimages/xxx.jpg in a statement, in your
> case <img src="/gsdl/collect/[collection]/myimages/xxx.jpg">
>
> Regards
> Shaoqun
>
>> Hi,
>>
>> I'm trying to associate an image cover to my bibliographical entries
>> extracted from cds/isis
>>
>> I have enabled
>>
>> format DocumentImages true
>>
>> in collect.cfg
>>
>> all plugins seems to be enabled by default as the options is only "no
>> cover image"
>>
>> Image are named exactly like the nul file, in the same folder, e.g.:
>>
>> folder1/00000118.nul
>> folder1/00000118.jpg
>>
>> Though I can not see any image output. Any ideas about it?
>>
>> Wich is the default path to reach images? I would like to keep all the
>> images in one folder and then call them in my collect.cfg file in this
>> way:
>>
>> <img src="pathtoimage">
>>
>> Thank you for your help guys,
>>
>> Ruben
>>
>>
>>
>>
>>
>> ..................
>> ..................
>>
>> Ruben Pandolfi
>>
>> -------------------------------------------------------------
>> "...I Think This is the Beginning of a Beautiful Friendship."
>> -------------------------------------------------------------
>>
>> _______________________________________________
>> greenstone-users mailing list
>> greenstone-users@list.scms.waikato.ac.nz
>> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>>
>
>
>


--

..................
..................

Ruben Pandolfi

-------------------------------------------------------------
"...I Think This is the Beginning of a Beautiful Friendship."
-------------------------------------------------------------