Quote:
Originally Posted by ElMiko
B) if the defined height would result in the image being too large (width-wise or height-wise) for the window/viewport, then the image is resized proportionally.
|
If the height is greater than the width, and the the height must be a constant (and width: auto), then is almost impossible to avoid blank spaces at left and right (only when the proportion of the viewport is equal to the proportion of the image). So for example is the proportion of the ereader screen is 4:3 and the proportion of the image is also 4:3, then in that case is possible to avoid blank spaces. But as not all ereaders have the same proportion, is impossible to avoid blank spaces -at left and right- everywhere (when the height is greater than the width).