The best way to handle this is to add a padding to the outer div that contains the image, this will center the image horizontally and vertically and it should be consistent in all browsers.
For example:
.test {
padding:10px;
}
and
<div class="test">
<img src="test.jpg" />
</div>