[xep-support] Scaling of images again...

From: Bernd Kuemmerlen (bkuemmer@gmx.net)
Date: Thu Feb 27 2003 - 01:31:55 PST

  • Next message: Iren Myagkova: "Re: [xep-support]Using several alignment methods in one fo:block-container simultaneously."


    in http://xep.xattic.com/lists/xep-support/0376.html, David mentioned a
    way to get image scaling when the width exceeds the available width.
    This works very well.

    We now have the problem that sometimes, our images are not too wide but
    too high (when the pagesize is a square format and the images are
    portrait). Is there a way to get the following scaling behaviour?

    - When image is too wide, scale-to-fit to the available width
    - When the image is too high, scale-to-fit to the available height.

    I tried something like
    <fo:external-graphic src="url(img/large-image.gif)"

    But this results in lots of space above landscape images.

    So, is there a way to achieve the behaviour I described?

    Thanks for any help

    (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
    in the body of the message to majordomo@renderx.com from the address
    you are subscribed from.
    (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html

    This archive was generated by hypermail 2.1.5 : Thu Feb 27 2003 - 01:26:12 PST