Thanks for your replies. I've tried to run the fo locally, and that
worked fine. The image was too big, but after applying a 4cm width to
it, it fitted like it should (the image should appear left of the
body in a region-start). Applying that width to the original fo
didn't help. I've tried to find the logs, but don't know where to
look. I'm using fop 0.92 on a Mac (OSX 10.4). I opened the Console
(the log viewer for OSX), but couldn't find anything about fop.
JV
Op 31 aug 2006, om 08:51 heeft Jeremias Maerki het volgende geschreven:
On 31.08.2006 01:12:04 Michael Hahn wrote:
JV wrote:
I'm trying to use an external image, but for some reason it doesn't
appear. I'm using a servlet to create the pdf. Below is the FO-
code. The
servlet is located in another domain. I've copied the image to all
locations to be sure, but that didn't help. I've tried several
images,
including a png. I've tried to call it using src="url(test.gif)" and
src="test.gif", and using a domain name.
Any ideas what I'm doing wrong here?
Try moving the <fo:external-graphic> to the body of the page
first--if
it appears, it's probably too large to fit in the header area
(more than
4cm high).
Michael could be right. In that case you'd see a warning or error
on the
log. It's very important to look at what FOP tells you. I'm certain
that
FOP will tell you about the image problem in one way or another.
Another thing that could help you is to run the conversion outside
your
servlet from the command-line. That let's you exclude the servlet
environment out of the equation which can help you circle in on the
problem.
Jeremias Maerki
---------------------------------------------------------------------
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]