How to center image

How do I center an image? The picture can be found on this post.

All suggestions are welcome :slight_smile:

I have the following entered into the custom css of my blog:

img {
    display: block;
    margin: 0 auto;
}
2 Likes