My HTML includes the following code:
<div style="width:400px;height:300px;overflow:hidden;">
<img src="http://d39kbiy71leyho.cloudfront.net/wp-content/uploads/2016/05/09170020/cats-politics-TN.jpg" />
</div>
Take a look at the JS Fiddle link provided here: https://jsfiddle.net/mddc/j2vw29c6/12/
In this case, the image is 600px in width and cannot be set as a background image. As a result, the center of the image along the width direction does not align with the center of the parent div. It's important to note that the image is not responsive.