Re: [greenstone-users] Images not displaying in html

From Michael Dewsnip
DateThu, 11 Aug 2005 16:34:01 +1200
Subject Re: [greenstone-users] Images not displaying in html
In-Reply-To (42FA6F8E-7010404-telus-net)
Hi Jenn,

So you're saying that the image files aren't copied into the
archives/HASHxxxx.dir folders, and they're not listed as associated
files in the doc.xml files?

We have fixed some problems with associated image files since the last
release -- you might like to try downloading the updated HTMLPlug.pm
from http://www.greenstone.org to see if that fixes your problem. If it
doesn't help, send me one of your HTML files and I'll try it here.

All the best,

Michael

Jenn Cole wrote:

> Hi,
>
> Me again...I have had a chance to look a little bit more into the
> problem. When I view the source file for the page created from
> Greenstone the location listed as the source for my image files does
> not exist where it should. For example for one image the src code is:
>
> src="/collect/finalre3/index/assoc/HASHcc7b.dir/Reductions_and_Cutoffs
> of Reserves_Babine_Agency_Table_p_204.jpg"
>
> When I look at the files there is no folder HASHcc7b.dir in the accoc
> folder for this collection. There is a HASHcc7b.dir in the archives
> folder for this collection with a doc.xml file. Just for curiosity
> sake I moved the HASH file from the archives folder to the assoc
> folder and put manually put in the image files. That worked. So from
> what I can tell Greenstone is not creating the directory for the src
> location of my images. Other odd thing I have noticed is that after
> my html page is processed in Greenstone some of the image file names
> change. >From the example above the actual name of the image file is:
> Reductions_and_Cutoffs of Reserves_Babine_Agency_Table_p_204.jpg, but
> it has changed it to: Reductions_and_Cutoffs of
> Reserves_Babine_Agency_Table_p_204.jpg in the src code.
>
> I am having trouble figuring out if this is a problem with Greenstone,
> my files or both.
>
> Thanks,
> Jenn
>
>
> Jenn Cole wrote:
>
>> Hello,
>
>>
>
>> I have successfully built several collections with text-only html
>
>> documents. Now I am trying to add some html with text and images.
>
>> Greenstone seems to have imported the html document along with the
>
>
>> associated image files. When I view the document in greenstone, the
>
>> images do not appear.
>
>>
>
>> The individual images themselves are there in the collection as
>
>> files, they just are not appearing within the html document, which
> is
>
>> what I want.
>
>>
>
>> Thanks, Jenn Cole
>
>>
>
>> _______________________________________________ greenstone-users
>
>> mailing list greenstone-users@list.scms.waikato.ac.nz
>
>> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>
>>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>greenstone-users mailing list
>greenstone-users@list.scms.waikato.ac.nz
>https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>
>