How do I set a responsive proportional image that is relative to its own height – NOT its width?

simply setting... 

```
img{
    width: auto;
    height: 100%;
}

```

doesn't give me proportional dimensions for my image.

How can I do that?