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]

Reply via email to