JSFiddle - React, Tailwind, and code Playground

HTML

<div>
    <span>
        <img src="http://www.hawaiianimals.org/monkey-5263_whitw_op_640x480.jpg" alt="" />
    </span>
</div>
<div>
    <span>
        <img src="http://ummahweb.net/wp-content/uploads/2010/04/z78.jpg" alt="" />
    </span>
</div>
<div>
    <span>
        <img src="http://www.och.lt/uploads/posts/2012-05/1337279564_podb_6.jpg" alt="" />
    </span>
</div>
<div>
    <span>
        <img src="http://xemanhdep.com/gallery/black_white_photos/black_white_photos26.jpg" alt="" />
    </span>
</div>

CSS

div {
    position: relative;
    border: 1px solid #CCC;
    width: 300px;
    height: 300px;
    margin: 10px;
    overflow: hidden;
}

span {
    display: block;
    position: absolute;
    left: 50%;
    width: 1000em;
    height: 100%;
    margin-left: -500em;
    text-align: center;
}
img {
   height: 100%;
    vertical-align: bottom;
}