This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: No images in HTML Help!?


Kraa de Simon wrote:

> The images do not show in the HTML Help .chm file...

> When processing the following XML fragment:
> 
>         <inlinemediaobject>
>                 <imageobject>
>                         <imagedata
> fileref="../../images/screen/71000.b.0.png"/>
>                 </imageobject>
>         </inlinemediaobject>
> 
> using htmlhelp/htmlhelp.xsl I get:
> 
>         <span class="inlinemediaobject">
>                 <img src="../../images/screen/71000.b.0.png">
>         </span>
> 
> And the following entry in htmlhelp.hhp: (htmlhelp.enumerate.images == 1)
> 
>         [FILES]
>         ../../images/screen/71000.b.0.png
> 
> What I would like to get is:
> 
>         <span class="inlinemediaobject">
>                 <img src="71000.b.0.png">
>         </span>

AFAIK HTML Help compiler should include these images in CHM (you even
don't need to use enumerate.images) if they can be found. Make sure that
paths in HTML files leads really to images. People can get easily
confused, when using many ../. You can test it by opening some .html
file produced by HTML Help in browser and see, whether image is loaded.
If not, correct your paths.

There could be another reason why it doesn't work -- HTML Help cann't
process images if they are in parent directory. In that case placing
images into subdirectory of you DocBook XML files is solution. 

			Jirka

-- 
-----------------------------------------------------------------
  Jirka Kosek  	                     
  e-mail: jirka@kosek.cz
  http://www.kosek.cz


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]