How to vertically center a clipped image with CSS

Sometimes you need to clip an image to a certain height, even though the image may be taller. This article shows you how to clip the image and center it vertically.