This question has already been answered:
- Vertical image centering in block 3 answers
There is a picture whose width is larger than the parent div'a (overflow: hidden;). How to make it so that only the central part of the picture is visible, while preserving the proportions of the picture, while reducing the width of the div and so that the picture occupies the entire height of the div?