Re: [greenstone-users] Images do not appear when doc files areconverted to HTML

From Michael Dewsnip
DateFri, 05 Nov 2004 12:32:18 +1300
Subject Re: [greenstone-users] Images do not appear when doc files areconverted to HTML
In-Reply-To (Pine-LNX-4-44-0411031151090-29992-100000-fornax-it-iitb-ac-in)
Hi,

Have you upgraded to Greenstone v2.52? Old versions of Greenstone had a bug where doc
files with spaces in the filename would have their images broken, but this was fixed for
v2.52.

If you have upgraded to v2.52 and still have the problem, please send me personally one
of the doc files that exhibits the problem and I'll try it here.

Regards,

Michael

Chaitra Rao wrote:

> Hi,
> I was facing some problems with images embedded in doc files.I have a
> few doc files in my collection with images embedded in them.I can view
> them properly if I open the doc file itself from the greenstone
> web-interface.The problem is when it is converted to HTML and viewed
> within the browser.I can see the text but I can't see the images.It just
> shows an empty box.The contents of the collect.cfg file is as shown below.
>
> creator chaitra@it.iitb.ac.in
> maintainer chaitra@it.iitb.ac.in
> public true
>
> indexes document:text document:Title document:Source
> #indexes dc.Title
> #levels document
> defaultindex document:text
>
> defaultlanguage en
>
> classify AZCompactList -metadata dc.Title
>
> classify AZCompactList -metadata dc.Subject -sort Title -doclevel
> top -mingroup 1 -buttonname Browse
>
> plugin GAPlug
> plugin TEXTPlug -default_language hi -input_encoding utf8
> -default_encoding utf8
> plugin ImagePlug
> plugin WordPlug -convert_to html -no_metadata -assoc_files
> (?i)\.(gif|jpe?g|jpe|png|css)$ -description_tags -input_encoding utf8
> -default_encoding utf8 -default_language ab -extract_acronyms
> -markup_acronyms -cover_image
> plugin HTMLPlug -no_metadata -cover_image
> plugin PDFPlug
> plugin PPTPlug -process_exp (?i)\.ppt$ -convert_to html
> -cover_image
> plugin ExcelPlug -convert_to html
> plugin ZIPPlug
> plugin ArcPlug
> plugin RecPlug -use_metadata_files
>
> format VList "<td valign=top>[link][icon][/link]</td>
> <td
> valign=top>[ex.srclink]{Or}{[ex.thumbicon],[ex.srcicon]}[ex./srclink]</td>
> <td valign=top>[highlight]
> {Or}{[dls.Title],[dc.Title],[ex.Title],Untitled}
> [/highlight]{If}{[ex.Source],<br><i>([ex.Source])</i>}</td>"
>
> format DocumentText "<h3>[dc.Title]</h3>\\n\\n<p>[Text]
> "
>
> format SearchVList "<td
> valign=top>[link][icon][/link]</td><td>{If}{[parent(All\': \'):dc.Title],
> [parent(All\': \'):dc.Title]:}[link][dc.Title][/link]</td>
> "
>
> format DocumentTitles true
>
> format DateList "<td>[link][icon][/link]</td>
> <td>[highlight]{Or}{[dls.Title],[dc.Title],[ex.Title],Untitled}[/highlight]</td>
> <td>[ex.Date]</td>"
>
> format HList
> "[link][highlight]{Or}{[dls.Title],[dc.Title],[ex.Title],Untitled}[/highlight][/link]"
>
> collectionmeta collectionname [l=en] "Development Library"
> collectionmeta collectionname [l=hi] " "
> collectionmeta collectionextra [l=en] "Media Lab Asia Demo Collection"
> collectionmeta .document:text [l=en] "text"
> collectionmeta .document:Title [l=en] "titles"
> collectionmeta .document:Source [l=en] "filenames"
> collectionmeta .document [l=en] "document"
> collectionmeta .dc.Title [l=en] "title"
> collectionmeta .dc.Title [l=hi] ""
>
> Regards,
> Chaitra
>
> _______________________________________________
> greenstone-users mailing list
> greenstone-users@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users