Img positioning

I have a very large image and a container with around 50% hight of that image. Now I want to show only uper 50% of that image into that container (no issue with width) . I tried all style of object fit but don’t get the desired output.

What have you tried? Have you tried setting it as the background-image?