Remove the content-height attribute and it should work. That attribute is in conflict with the maximum value and it seems that the conflict resolution is not good enough, yet.
On 03.06.2008 20:11:12 _zachary_ wrote: > > Actually I take my last comment back. It seems as though I had left my code > in there that was calculating the widths. Thus this code: > > <fo:external-graphic inline-progression-dimension.maximum="100%" > content-width="scale-down-to-fit" > content-height="100%" /> > > does not work. I created a fo with two-columns, put a fo:block in the body > and the image overflows the block still. Any ideas why that wouldn't be > working? And I'm not getting any errors from fop > > > Andreas Delmelle-2 wrote: > > > > 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] > > > > > > > > -- > View this message in context: > http://www.nabble.com/0.94-AND-0.95b-Images-tp17627201p17629647.html > Sent from the FOP - Users mailing list archive at Nabble.com. > > Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
