Re: [docbook-apps] Failed to load image

From
Sristan Giedler
Date
2005-02-18T15:24:03+00:00
ID
Thread
Re: [docbook-apps] Failed to load image
Hi Joachim,

I am using 1.67.2 and PNG images with no problem as follows :

<!ENTITY fig1 SYSTEM "Alt.Splicing_Fig1.png" NDATA PNG>

		<mediaobject id="figure1" xreflabel="Figure 1">
			<imageobject>
				<imagedata entityref="fig1" width="60%" align="center"/>
			</imageobject>
			&fig1legend;
		</mediaobject>

Both HTML and PDF output are fine.  Perhaps you could see if this 
format will work in your situation.

Cheers,        Tristan
------------------------------
Tristan J. Fiedler
Postdoctoral Fellow - Stein Lab
Cold Spring Harbor Laboratory
On Feb 18, 2005, at 6:15 AM, Joachim Ziegler wrote:

> Hello all,
>
> after switching from docbook-xsl-1.62.4 to docbook-xsl-1.67.2, I get 
> errors of the form
>
> Writing html/ch02.html for chapter(cha.SimpleDataTypes)
> Failed to load image: Pictures/Dictionary.png
> Failed to load image: Pictures/Dictionary.png
> Failed to load image: Pictures/Dictionary.png
> Failed to load image: Pictures/Dictionary.png
>
> I did not change anything in my file structure or in my source 
> document. The image file is still there, and the image is visible in 
> the generated HTML page.
>
>
> I include the image by
>
>     <figure id="fig.Dictionary">
>       <title>An English-German dictionary</title>
>       <mediaobject>
>         <imageobject  role="html">
>           <imagedata  align="center" format="PNG" 
> fileref="Pictures/Dictionary.png"/>
>         </imageobject>
>       </mediaobject>
>     </figure>
>
>
> The picture is here, in the subdirectory "html" where the HTML code is 
> generated:
>
> $ ll html/Pictures/Dictionary.png
> -rw-r--r--    1 ziegler  Mehlhorn     6147 Oct 15  2003 
> html/Pictures/Dictionary.png
>
> Before 1.67.2, I did not get this error message.
>
>
> Can I just ignore it?
>
> Greetings,
> Joachim
>
>
>
>
>
> -- 
> Joachim Ziegler                       Stuhlsatzenhausweg 85
> Max-Planck-Institut für Informatik    66123 Saarbrücken, Germany
> Email:           Tel.: (+49) 0681 9325-127
> "I never wanted to be a computer scientist. I wanted to be... a 
> lumberjack!"