img {
display: block;
max-width: 100%;
max-height: 100%;
width: auto;
height: auto;
}
img {
display: block;
max-width:230px;
max-height:95px;
width: auto;
height: auto;
}
.image-full {
background: url(...some image...) no-repeat;
background-size: cover;
background-position: center center;
}
/* Simply add width without height,
aspect ratio will be maintained
and height will be calculated accordingly*/
img {
width: 100px;
}