I think
Try using overflow:hidden; as the property for the parent div of the image, not directly on the image itself. For more information, check out this helpful guide: <a href="http://css-tricks.com/almanac/properties/o/overflow/" rel="nofollow">http://css-tricks.com/almanac/properties/o/overflow/</a>
Check out this code snippet:
<html>
<head>
<style>
.overflow{
height:100px;
width:150px;
overflow:hidden;
}
img{
height: 200px;
}
</style>
</head>
<body>
<div class="overflow">
<img src="http://example.com/image.jpg">
</div>
</body>
</html>
You could also explore using max-height and max-width properties to control the dimensions of the image while maintaining its aspect ratio.