Mike, That's interesting, and possibly consistent with what I saw. I'll test that when I get a chance. Have you tried setting height &/or width (use scaling="uniform" if both) attributes on the external-graphic itself?
Cheers, Roland > -----Original Message----- > From: Mike Trotman [mailto:[EMAIL PROTECTED] > Sent: Tuesday, 19 April 2005 10:24 AM > To: [email protected] > Subject: Re: FOP - external-graphic in absolutely positioned block > container - Solved > > > Thanks for checking the archives. > I also did a quick scan but couldn't find anything. > > I think I have pinned down when the image vanishes. > It is when both dimensions of the image display size are too large to > fit in the box. > > With a smaller width - the image is constrained in the box by width - > and the height is smaller than the box. > When I increase the width - the image expands to fill the width - and > the bottom of the image gets closer to the bottom of the box. > When I go beyond to the point where the image height exceeds the box - > then the image vanishes! > > At 2.3in width - the image displays and just fills the box, at 2.4in the > image does not display as it's height would be larger than the box. > And I increased my sizes by 0.5in which allowed the image to expand and > vanish! > > SO - an image IS constrained by the WIDTH of a box - but NOT the HEIGHT! > (And an image display that is too large to fit the box gets suppressed.) > > I was using content-height and content-width as these correctly > constrain the image in XEP (height and width don't) > and obviously using the size of the block-container to constrain the > size in FOP. > But it was too long ago when I set this up. > I have now added a large comment to the relevant XSLT code. > > Anyway - thanks to all those who responded. > > > Mike > > Roland Neilands wrote: > > >Mike, > > > > > > > >>However - my main question still remains: > >> > >>Why - when an image is displayed 'correctly' - does making the > >>block-container BIGGER make the image vanish? > >>Does anyone else have any experience of this? > >> > >> > > > >Yes, if the block-container no longer fits wholly within static-content for > >example, it doesn't display anything. You > could display > >borders on the block-container to check. > > > >I have also seen logos disappear when the logo itself was much bigger than > >the block-container and it spat the dummy rather than > >scale the image down. I think that was only on certain image types (jpg?). I > >checked the archives quickly but can't find the > >details, sorry. > > > >Cheers, > >Roland > > > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.308 / Virus Database: 266.9.16 - Release Date: 18/04/2005 > > > --------------------------------------------------------------------- > 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]
