How to make hero image shrink to text block size

I feel like this is the easiest thing to fix and I just don’t see it for some reason.

I have a standard hero section (flex or grid, could be either) 50 50 split - left side: block with h1, text, cta-btn; right side: block with image.
I would like the image to change it’s height depending on the height of the left block containing the text. So basically achieve the behaviour a background image on the right block would have but with an actual img.

Can’t get it to work, pls help

TYVM in advance ~patrick

Stretch blocks in container (align-items, I think) and give image 100% height

That’s what I tried without any success. The media wrapper (block) always assumes the size of the image inside.

Maybe set the media wrapper height to 100%?

Still no change :tired_face: it’s so weird