How do i make an image 100% width in figma and height on auto

what should be the width pixel value in Figma, if i want to show hero image 100% width and height on auto. I keep on mentioning to dev team in each meeting that we need hero image span the entire width seamlessly on any device. So, Instead of keep repeating this what exact thing I should mention on Figma, so they understand it without asking me?

Create a frame with an image fill. In the menu where you edit the image properties, set the mode to “Fill” (as opposed to “Fit” or “Crop”, etc).

Now just make sure this frame with the image fill spans the full width of your artboard (using auto-layout or some other method).


Thanks a lot, this works! :slight_smile: