Originally posted by HuwR
if you only set either the width or height of an image then resizing will allways maintain the correct aspect.
using a percentage width with a fixed height is really not a good idea at all as your image will always be distorted no matter what you do.
That's why I didn't mention setting a fixed height. You can insert a photo and set both characteristics to a percentage of the page. For example, if a photo is 320 pixels by 160 pixels, you could set it to 32 percent by 16 percent. Now, regardless of which direction you reduce or enlarge the page, the photo will not be distorted.
well, actually I didn't say you did, I was answerring Etymon who did say using a fixed height
also your logic is flawed, setting the images size to a percentage will only maintain the aspect ratio if bothe percentages are the same, setting them to different percentages will not maintain the aspect ratio at all, just do the maths.
your example = 320x160 which is a 2:1 ratio if you change that to 32% x 16% you get an image which is 102.4x25.6 which is a 4:1 ratio
<