Proportionally fit image to container

I have a frame. The width of my frame is set to fill its container. The height is fixed. The frame has an auto layout and horizontal and vertical padding. Inside of my frame, I have a vector image. I am trying to figure out how to get that image to scale proportionally with the frame sot hat it is not stretched or clipped but fills either the width or height of the frame up to the padding. But, the only options that I have for the width and height of the image are Fixed and Fill container. The former doesn’t scale the image with the frame. The latter stretches the image to fill.

I am new to Figma, so not sure if I am missing something obvious. How can I do this?

Hey @Thomas_Nabelek, thanks for reaching out!

It’s hard to be sure what you’re asking to do without seeing how your file’s been set up. Can you please reach out to the support team directly via this form for help?

Be sure to use your Figma account email, include a link to the file, and share it with, so they can take a closer look.