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

From sw64@cs.waikato.ac.nz
DateTue, 23 Jan 2007 09:59:33 +1300 (NZDT)
Subject Re: [greenstone-users] adding images to null documents
In-Reply-To (45B49960-4020401-inwind-it)
Hello ruben,

I have added the cover image support to NULPlug, you can get it from
http://www.cs.waikato.ac.nz/~shaoqun, and replace the old on in
GSDLHOME/perllib/plugins.

I think that document number is actually the title metadata i.e. [Title],
but, anyway, you don't need it anymore.

Regards
Shaoqun


> I think I can make it works with:
>
> _httpprefix_/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
>> _httpprefix_/collect/[collection]/myimages/xxx.jpg in a statement, in
>> your
>> case <img src="_httpprefix_/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."
> -------------------------------------------------------------
>
>