J
Jeff
hi
asp.net 2.0
I have this markup on my webpage. The problem with this markup is that a
picture can appear to be stretched. Specially is this notable on portrate
photos - photos where height is higher than width
<asp:Image ID="Image1" runat="server" Width="700" Height="300" />
So I'm looking for a way to keep the relationship between the height and
width. Lets say original picture has size with:800, height:600. Then I want
to keep the relationship between those properties while I scale down the
picture so it's not larger than with:700 and height:500... maybe in this
scenario the with should be 500 and height 300...
any suggestions?
asp.net 2.0
I have this markup on my webpage. The problem with this markup is that a
picture can appear to be stretched. Specially is this notable on portrate
photos - photos where height is higher than width
<asp:Image ID="Image1" runat="server" Width="700" Height="300" />
So I'm looking for a way to keep the relationship between the height and
width. Lets say original picture has size with:800, height:600. Then I want
to keep the relationship between those properties while I scale down the
picture so it's not larger than with:700 and height:500... maybe in this
scenario the with should be 500 and height 300...
any suggestions?