Resizing an image inside a frame resulting in blank space over and under the image

Hi! I’m having a problem with image resizing inside a frame. The image is set to “fit”, so it keeps it’s aspect ratio when i resize the width of the frame. The problem I’m having is that the image container itself have blank space over and under the image. Therefor if i want other content inside the frame, there will be a lot of blank space between the content and the actual image. Is there any way to resize a frame containing an image without getting the blank space over and under the image?