[greenstone-devel] ImageConverter issue

From Vladimir Risojevic
DateFri Feb 13 00:33:54 2009
Subject [greenstone-devel] ImageConverter issue
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