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


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: [docbook] Newbie: DocBook and images


Try adding the file:/ protocol (e.g. file:/Tomcat ...)  I'm not an OS X
user, but this should make your fileref a true URL, and should work better.

Jeff
-----Original Message-----
From: craig [mailto:craig at sapphireone dot com]
Sent: Wednesday, March 26, 2003 10:58 PM
To: docbook at lists dot oasis-open dot org
Subject: [docbook] Newbie: DocBook and images


I am generating html using Docbook and Cocoon, standard installation on Mac
OS X. 


xml fragment: 
<figure><title>The SapphireOne Structure is displayed below.</title> 
<graphic fileref="/Tomcat/webapps/cocoon/docbook/images/SOStructure"
format="JPEG"/> 
</figure> 


This fragment generates the following html fragment: 
<div> 
<img src="/Tomcat/webapps/cocoon/docbook/images/SOStructure" alt="The
SapphireOne Structure is displayed below."></div> 
</div> 


This does not display the Image in IE 5.2.1 (Mac), but when I save the html
to disc, and open the file fro the disc, it does display the image. 
Now I can live with this (for about a week), but I need a fix. 


Any help would be appreciated. 


Versions: 
Cocoon 2.04.1 
Java: 1.4.1_01 
Docbook 4.1 



Craig Nock 

---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-unsubscribe at lists dot oasis-open dot org
For additional commands, e-mail: docbook-help at lists dot oasis-open dot org


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