Skip to main content
Nov 19, 2023 7:22 AM UTC
Solved

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?

This topic has been closed for replies.
thor3
thor3Solution
Nov 19, 2023 2:25 PM UTC

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).

2 replies

thor3
thor3Solution
Nov 19, 2023 2:25 PM UTC

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).

SabaAuthor
Nov 20, 2023 6:19 AM UTC

Thanks a lot, this works! 🙂