On Jun 3, 2008, at 18:51, _zachary_ wrote:
As long as I do not do anything to my smaller images they work
fine, however,
I want to use the same code for big and small images without having
to check
for the widths. e.g.
This is what happens when i don't add any attributes to my
external-graphics, all I add is a src.
|
Hello there! [SMALL_IMAGE] oo this is coo |
o i know [SMALL_IMAGE] hello world blah |
[ BIG_IMAGE
| ] (<-
overflows the block-container)
hello this is some more text blah balh blah |
So now how do I keep everything the same and just make the
BIG_IMAGE not
overflow the block, but rather scale it down to fit within the
block. I do
not know the with of any of the images, and the small images need
to keep
the same effect.
IIC, then the fact that you specify width="100%" is what's bugging
you here.
Haven't tried, but I assume you would at least need to go with inline-
progression-dimension, so you can control only the maximum value
explicitly.
Something like:
<fo:external-graphic inline-progression-dimension.maximum="100%"
content-width="scale-down-to-fit"
content-height="100%" />
HTH!
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]