Applying image aspect ratio

Hey designers!
Is there a way to apply aspect ratio on figma?
When I changing a image size like (1080 * 1080) to (100 * 100), how can I apply it so it’s size reduce?

Set a constrain proportions for this object and enter a value in the width or height field.