Hey Guys,

I would love some help on this issue because it has been driving me crazy.
First, let me describe what I am trying to do.  I am trying to make images
that are bigger than my fo:block shrink to the size of the block, breaking
it off to its own line, so that no text is before or after it.  Next, for
the images that are smaller than my block I want my text to flow around the
image.

Now then, the only way that I have been able to obtain this functionality is
by calculating the widths of the images, if they are bigger than my fo:block
then i do the following:
  <fo:external-graphic src="url('[EMAIL PROTECTED]')">
    <xsl:attribute name="width">100%</xsl:attribute>
    <xsl:attribute name="content-width">scale-to-fit</xsl:attribute>
    <xsl:attribute name="content-height">100%</xsl:attribute>
  </fo:external-graphic>
This code works great for the big images, however when I apply the same code
to the smaller images they don't allow text to flow around them, due to the
width being 100%.  I tried using the scale-down-to-fit method in 0.95b but
it didn't seem to do anything.  Does anyone have a solution to this so that
my code can be dynamic and I don't have to do many calculations to fix the
width?

Thank you for your time

zach
-- 
View this message in context: 
http://www.nabble.com/0.94-AND-0.95b-Images-tp17627201p17627201.html
Sent from the FOP - Users mailing list archive at Nabble.com.


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

Reply via email to