img {
position: absolute;
top: 0;
vertical-align: middle;
height: 100%;
background-size: cover;
background-repeat: no-repeat;
}