Re: [greenstone-users] Image display problem

From Lenneth Valkyrie
DateTue, 10 Jan 2006 14:13:46 +0800 (CST)
Subject Re: [greenstone-users] Image display problem
In-Reply-To (43C2CBDF-2040308-dlconsulting-co-nz)
Hi Richard,
 
I tried and it does not work. My image still appear to be very big after i click onto the thumbnail which was suppose to bring me to a page with metadata details and the image. The image appears still the same size even though after i set the configuration of the of the imageplug.
 
Thank you.
 
Regards,
Jasmine 

Richard Managh <richard@dlconsulting.co.nz> wrote:
Hi Jasmine,

Yes, you can use the "screenviewsize" option of ImagePlug to set the
width of your imported images. The height of the images will be
automatically determined in proportion to the width.

You configure this option in the GLI from the Design tab, under
"Document Plugins", choosing ImagePlug and clicking the configure
button, or you can edit your collection configuration file, and change
the line which would be something like

plugin ImagePlug

to

plugin ImagePlug -screenviewsize 400

for 400 pixel width images.

Then rebuild the collection.

Hope this helps,


Richard.
--
DL Consulting
Greenstone Digital Library and Digitisation Specialists
contact@dlconsulting.co.nz
www.dlconsulting.co.nz


Lenneth Valkyrie wrote:

> Hi Richard,
>
> Thank you so much, i finally understand what is the problem now and my
> image appeared ^_^. I have a another question, is it possible to
> resize the image using greenstone instead of having to use other image
> editing software to resize the image?
>
> Regards,
> Jasmine
>
> */Richard Managh /* wrote:
>
> Hi Jasmine,
>
> I would suggest that instead of the following in the top of your
> DocumentText format statement:
>
> format DocumentText "
>
> src='/gsdl/collect/SCCCI/index/assoc/[assocfilepath]/[sc.AccessionNumber]'>
>
> You substitute [Source] for [sc.AccessionNumber]
>
> Which would give you:
>
> format DocumentText "
>
>
> src='/gsdl/collect/SCCCI/index/assoc/[assocfilepath]/[Source]'>
>
> This is because in your doc.xml file [sc.AccessionNumber] in the
> example
> you sent, would evaluate to "49" when what you probably want is
> "49.jpg"
>
> So, for your image, instead of: **
>
>
> src='/gsdl/collect/SCCCI/index/assoc/[assocfilepath]/[sc.AccessionNumber]'>
>
> Which gives:
> src='/gsdl/collect/SCCCI/index/assoc/*HASH0b7e.dir*/*49*'>
>
>
> You would have:
> src='/gsdl/collect/SCCCI/index/assoc/[assocfilepath]/[Source]'>
>
> Which gives:
> src='/gsdl/collect/SCCCI/index/assoc/*HASH0b7e.dir*/*49.jpg*'>
>
>
> Hope this helps,
>
>
> Richard.
> --
> DL Consulting
> Greenstone Digital Library and Digitisation Specialists
> contact@dlconsulting.co.nz
> www.dlconsulting.co.nz
>
>
>
> Jasmine wrote:
>
> > Hi,
> > I had been figuring out how to solve the image display problem for
> > days and still couldn't find where the fault lies. My image still
> > could not appear. I looked into my doc.xml file and this is how it
> > looks like
> >
> > * * *importGeneral Affairs
> > CommitteeBefore 1982Celebrations, Ceremonies &
> > Festivals49.jpg*
> > * * *indexed_doc*
> > * * *ImagePlug*
> > * * *49.jpg*
> > * * *49.jpg*
> > * * *JPEG*
> > * * *unknown*
> > * * *JPEG*
> > * * *1052*
> > * * *1672*
> > * * *unknown*
> > * * *
> >
> href="/gsdl/collect/gsarch/index/assoc/[assocfilepath]/[sc.AccessionNumber]">*
>
> >
> > * * **
> > * * *
> >
> src="/gsdl/collect/gsarch/index/assoc/[assocfilepath]/[sc.AccessionNumber]"
>
> > width=100>*
> > * * *gif*
> > * * *thumbnail.gif*
> > * * *
> > src="/gsdl/collect/gsarch/index/assoc/[assocfilepath]/[Thumb]"
> > width=[ThumbWidth] height=[ThumbHeight]>*
> > * * *63*
> > * * *100*
> > * * *General Affairs Committee*
> > * * *19640920*
> > * * *Temasek Polytechnic, Information
> > Management student*
> > * * *49*
> > * * *SCCCI (General Affairs
> > Committee)*
> > * * *General Affairs Committee-Before
> > 1982-Celebrations, Ceremonies & Festivals*
> > * * *NA*
> > * * *49*
> > * * *HASH0b7e3412832ce54061a81e*
> > * * *HASH0b7e.dir*
> > * * *49.jpg:image/JPEG:*
> > * *
> > name="*gsdlassocfile*">*thumbnail.gif:image/gif:*
> > * *
> > * * *This document has no text.*
> >
> >
> > and this is what my collect.cfg file look like for the format
> feature:
> >
> > format DateList " [link][icon][/link]
> >
> [highlight]{Or}{[dls.Title],[dc.Title],[ex.Title],Untitled}[/highlight]
>
> > [ex.Date] "
> >
> > format HList "[link][highlight][ex.Title][/highlight][/link]"
> > format DocumentButtons ""
> >
> > format VList " [link][thumbicon][/link]
> > *Event Title: *[sc.Title]
> *Date of Event:
> > *[sc.Date]
> *Description: *[sc.Description]
> > "
> > format DocumentHeading ""
> >
> > format DocumentText "
>
>
> >
> src='/gsdl/collect/SCCCI/index/assoc/[assocfilepath]/[sc.AccessionNumber]'>
> >
> *Event Title: *[sc.Title]
> >
> *Date of Event: *[sc.Date]
> *Description:
> > *[sc.Description]
> >
> *Event Organiser: *[sc.Organiser]
> >
> *Notes: *[sc.Notes]
>
> "
> >
> >
> > Thank you, i will be looking forward to the reply.
> >
> > Best Regards,
> > Jasmine
> >
> >
> >
> >
> >
> >
> >
> >
> ------------------------------------------------------------------------
> > Do you Yahoo!?
> > New and Improved Yahoo! Mail
> >
> > - 1GB free storage!
> >
> >------------------------------------------------------------------------
> >
> >_______________________________________________
> >greenstone-users mailing list
> >greenstone-users@list.scms.waikato.ac.nz
> >https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
> >
> >
>
>
> ------------------------------------------------------------------------
> Do you Yahoo!?
> New and Improved Yahoo! Mail
>
> - 1GB free storage!
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>greenstone-users mailing list
>greenstone-users@list.scms.waikato.ac.nz
>https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>



Meet your soulmate!
Yahoo! Asia presents Meetic - where millions of singles gather