Note:
Another way to set proportional resize is to put 0 either in ToWidth/ToHeight or MaxWidth/MaxHeight.
Eg: ToWidth=0 ToHeight=100 will set the resulting image to 100px tall, and the width will be resized proportionally.
Eg: MaxWidth=300 ToHeight=0 will set the resulting image to maximum 300px wide, and the height will be resized proportionally.
|