Yes, you're quite right, that is a problem (in version 2.40 only). I've
just made your fix to our code here, so the problem will be fixed for
I'll CC this to the user's list, just in case other people have this
Thanks very much,
"Dwyer, Benjamin J" wrote:
> Thankyou for your help,
> I believe there may be an error in version 2.40 of Greenstone.
> The problem is in the ImagePlug file.
> I noticed in the examples of the OAI plugin demo at:
> that when i viewed the collection in IE version 6.0 for Windows, that
> all the thumbnail previews were squashed. This is because the height of
> the thumbnail has not been specified. It is easily fixed by editing the
> ImagePlug file, about half way down:
> $doc_obj->add_metadata ($section, "thumbicon", "<img
> width=[ThumbWidth] height=[ThumbHeight>");
> there is a missing ']' after 'height=[ThumbHeight
> Ben Dwyer
> -----Original Message-----
> From: email@example.com [mailto:firstname.lastname@example.org]
> Sent: Thursday, 10 July 2003 3:53 PM
> To: Dwyer, Benjamin J
> Cc: email@example.com
> Subject: Re: ImagePlug Questions
> Hi Ben,
> In response to your questions:
> 1. The ImageMagick homepage is at http://www.imagemagick.org - you might
> like to have a look around here first. To download ImageMagick for
> Windows, try
> There are a few different Windows distributions available (differing in
> terms of being statically/dynamically linked, and maximum bit depth);
> the one shown above worked for me on a Windows 2000 machine.
> Once you've got it, just double-click to install. It is a standard
> Windows installer, and has some helpful text at the start. It doesn't
> matter where you install it. I recommend that you choose the "update
> executable search path" option, since this handles setting the PATH
> variable for you.
> Once it is finished installing, you should be all ready to go. Open up a
> DOS prompt and check everything is working properly by typing "convert"
> and "identify" (these are the two programs used by ImagePlug). If these
> programs don't run, you'll have to manually add their location to the
> PATH variable (let me know if you need help on this). If they work, you
> should be OK to import files using ImagePlug.
> 2. Images are no different from any other file in terms of assigning
> metadata via metadata.xml files. The Greenstone Librarian Interface
> (which comes with Greenstone 2.40) makes metadata assignment much
> easier, so I'd recommend you use this for assigning metadata to your
> Hope this helps.
> - Michael
> Just have a few questions regarding the ImgePlug plug-in.
> 1) What is the procedure for downloading and setting up ImageMagick on a
> Windows (XP) machine? I've searched the greenstone archives for the
> answer but couldn't find it.
> 2) Is there an easy way to add searchable and general metadata to images
> using the ImagePlug plug-in?
> Ben Dwyer