Thanks, that did it.

In case others are facing problems with external-graphic as well, here is
what I learned:

1. Content-height and -width are ignored within fo:external-graphic (see bug
no. 2867).

2. The image is automatically scaled to the WIDTH of its containing area. If
the resulting height of the image doesn't fit,
a) the image will be skipped (instead of tying to scale it to the available
height!) or
b) fop runs into an endless loop creating new pages (see bug no. 4262)
depending on the containing area.

3. Someone used block-containers to fit an image to a given size. This
didn't work for me. Instead the block-container remained blank.

Thanks again, Corinna

----- Original Message -----
From: "Branham, Paul" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 30, 2001 11:09 PM
Subject: RE: external graphic


> Try putting it inside of a table. I did this and I wasn't having any
> problems with it.
>
> Paul Branham
> [EMAIL PROTECTED]
> 24/7 Media, Inc.
> Phone:(301)897-7722
>
>
> -----Original Message-----
> From: Corinna Hischke [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, October 30, 2001 1:26 PM
> To: [EMAIL PROTECTED]
> Subject: Re: external graphic
>
>
> Hi All
>
> I'm facing the same problem like Kenneth's No. 1. My gif-Image is quite
big
> (3000x2000 pixels) and should be scaled down to about 2x1 cm.
>
> I already tried the trick using a block-container of suitable size, but
> still there is no error and no image coming up. Any suggestions?
>
> - Corinna
>
> ----- Original Message -----
> From: "Chesak,Kenneth" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, October 23, 2001 8:33 PM
> Subject: external graphic
>
>
> > 2 questions, sorry to bother, have posted 3 times to the comp.text.xml
> > newsgroup without response.
> >
> > 1) I am unable to get a image to show up in the pdf file.
> >
> > <fo:static-content flow-name="xsl-region-before">
> >   <fo:block>
> >           <fo:external-graphic src="images/logoTDHS.gif"/>Image Here
> >           </fo:block>
> >           <fo:block text-align="center" font-size="24pt">MEMORANDUM
> >           </fo:block>
> >           <fo:block text-align="center" font-size="16pt">Company XYZ
> >           </fo:block>
> > </fo:static-content>
> >
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to