Your directory structure shown below should work for both PDF and HTML, as long
as your XML files contain paths to image files in the form:
img/imagefile.png
For example:
<inlinemediaobject>
<imageobject>
<imagedata depth="218" fileref="img/imagefile.png" width="241" />
</imageobject>
</inlinemediaobject>
BTW, I think you'll find you downloaded FOP, Formatting Objects Processor,
which installs into fop-0.94, with a p, not a b.
-----Original Message-----
From: veyso [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 19, 2008 6:47 AM
To: [email protected]
Subject: RE: [docbook-apps] image in html-files
I have changed my paths.
My Paths:
fop-0.94 : Desktop/DocbookTest/fob-0.94
html-output-files: Desktop/DocbookTest/
xml-file: Desktop/DocbookTest/
image-files: Desktop/DocbookTest/img
xsl-files: Desktop/DocbookTest/
Makefile: Desktop/DocbookTest/
It doesn't work.:-/
Barton Wright wrote:
>
> The absolute path is probably the wrong approach. It would have to be the
> absolute path from the point of view of the web server you want to
> ultimately host the HTML files, which is almost certainly not the same
> absolute path as the machine on which you build the HTML files.
>
> It's hard to diagnose without knowing your directory structure. Your build
> script might have to copy the image files from your XML source directory
> to the HTML output directory -- copying in a way that preserves the same
> relative paths at both build time and HTML-viewing time.
>
> -----Original Message-----
> From: veyso [mailto:[EMAIL PROTECTED]
> Sent: Monday, February 18, 2008 11:03 AM
> To: [email protected]
> Subject: RE: [docbook-apps] image in html-files
>
>
> Hello,
>
> I have given the absolute path of the image files. It has nothing changed.
>
> Have you got another idea?
>
>
>
>
> Barton Wright wrote:
>>
>> This is probably an issue of paths to the image files. For PDF, the path
>> to images is relative to the XML source files, since the images must be
>> found and used during PDF generation. Once the images are embedded in the
>> generated PDF, the path, of course, no longer matters.
>>
>> For HTML, the path to images is relative to the output HTML files, since
>> the images must be found by the browser interpreting the HTML files.
>>
>> I'm sure you can come up with a directory structure for your source and
>> image files where these different path requirements are reconciled.
>>
>> -----Original Message-----
>> From: veyso [mailto:[EMAIL PROTECTED]
>> Sent: Monday, February 18, 2008 8:40 AM
>> To: [email protected]
>> Subject: [docbook-apps] image in html-files
>>
>>
>> Hello dear community,
>>
>> I generated pdf and html files with fob 0.94. In my pdf-file the image
>> can
>> be seen, but in the html-files, I don't see the images.
>>
>> Can anyone help me?
>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/image-in-html-files-tp15545438p15545438.html
>> Sent from the docbook apps mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>
>
> --
> View this message in context:
> http://www.nabble.com/image-in-html-files-tp15545438p15546907.html
> Sent from the docbook apps mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message in context:
http://www.nabble.com/image-in-html-files-tp15545438p15560561.html
Sent from the docbook apps mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]