This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
For automatic processing it is better to avoid specifying exact image size. The following code ensure proper sizing in most cases (no inline): <fo:external-graphic src="url(image.png)" width="100%" height="auto" content-width="scale-to-fit" content-height="100%"/> It scales down images if these don't fit available area, but retains original sizes if such area is larger. There is one drawback - it is impossible to draw border just around image itself - the border is applied to the content-size, not to the size of image (if it is smaller). There is no way to do both at once - autosizing and bordering. It would be nice to have any attribute, which would override default behaviour and cause border rendering just around image itself.