3
When I try to place a rectangular image inside a square div the image is cropped evenly, because it cuts only one side. When I mean centering the image I mean distributing the image equally to both sides and cutting equal pieces of the image to form the compound square with the image.
For example, I have a 300 x 200 image and a 200 x 200 div, if I put the image link inside the div it will cut 100px from a single side, instead I want you to cut 50px from each side of the image. It would be something like playing a video in 16:9 format on a 4:3 fullscreen monitor.