You can set only one dimension using style or css, the other will be proportional.
example:
If I have :
<img src="logo_w3s.gif" alt="W3Schools.com" height="100" width="100" />
and I want my image height and width 350, then can write like this:
<img src="logo_w3s.gif" alt="W3Schools.com" height="350" />