Users should be allowed to pass a single dimension, which is assumed to be the width. We let the browser maintain the aspect ratio for the height.


<p><img src="image.png" alt="test1" width="100" ></p>
<p><img src="image2.png" alt="test2" width="50%" ></p>