How to make Section height match responsive image height

Hey y’all,

I want to create a page with a 100% width image at the top whose height automatically scales to maintain its aspect ratio. I can achieve this, but how do I make its section match its responsive dimensions? I’ve Googled & tinkered but can’t figure it out.

Thanks in advance for your help with this noob question.
J

Set the image as a background image for the section and set it to Cover and Center aligned.

I hope this helps.