[greenstone-devel] ImageConverter issue

From Anupama of Greenstone Team
DateMon Feb 16 16:26:07 2009
Subject [greenstone-devel] ImageConverter issue
In-Reply-To (49940A77-20704-etfbl-net)
Forgot to CC the following to the appropriate list.


Hello Vladimir,

Yes, this looks very much like a bug that you fixed.
Thanks for your help,
Anupama

Vladimir Risojevic wrote:
> I am using Greenstone 2.81, and I built a PagedImage collection
> yesterday, and the format statement which uses [srcicon] returned a very
> small thumbnail. After checking the arguments of the plugin I finally
> went to ImageConverter.pm and in line 234 it reads
>
> $doc_obj->add_metadata ($section, "srcicon", "<img
> src="/gsdl/collect/[collection]/index/assoc/$assocfilemeta/[Image]"
> width="100">");
>
> It seems that width="100" is an error because it produces tiny 'full
> size images'. I changed it to:
>
> $doc_obj->add_metadata ($section, "srcicon", "<img
> src="/gsdl/collect/[collection]/index/assoc/$assocfilemeta/[Image]"
> width="[ImageWidth]" height="[ImageHeight]">");
>
> and everything worked fine.
> Is it really an error or am I missing something?
>
> Regards,
>
> Vladimir
>
>
>
> _______________________________________________
> greenstone-devel mailing list
> greenstone-devel@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-devel
>