We would like to know how to disable image sizing / cropping an image.
<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
.image {<!--from w ww . j av a 2 s.co m-->
overflow: hidden;
height: 50px;
width: 50px;
}
</style>
</head>
<body>
<div class="image">
<img
src="http://www.java2s.com/style/download.png" />
</div>
</body>
</html>
The code above is rendered as follows: