[greenstone-users] Images do not appear when doc files are converted to HTML

From Chaitra Rao
DateWed, 3 Nov 2004 12:05:14 +0530 (IST)
Subject [greenstone-users] Images do not appear when doc files are converted to HTML
In-Reply-To (1099431039-18232-10-camel-puriri-cs-waikato-ac-nz)
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.


creatorchaitra@it.iitb.ac.in
maintainerchaitra@it.iitb.ac.in
publictrue

indexesdocument:text document:Title document:Source
#indexesdc.Title
#levelsdocument
defaultindexdocument:text

defaultlanguageen

classifyAZCompactList -metadata dc.Title

classifyAZCompactList -metadata dc.Subject -sort Title -doclevel
top -mingroup 1 -buttonname Browse

pluginGAPlug
pluginTEXTPlug -default_language hi -input_encoding utf8
-default_encoding utf8
pluginImagePlug
pluginWordPlug -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
pluginHTMLPlug -no_metadata -cover_image
pluginPDFPlug
pluginPPTPlug -process_exp (?i).ppt$ -convert_to html
-cover_image
pluginExcelPlug -convert_to html
pluginZIPPlug
pluginArcPlug
pluginRecPlug -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]"

collectionmetacollectionname [l=en] "Development Library"
collectionmetacollectionname [l=hi] " "
collectionmetacollectionextra [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