Step 1: Get Image URL from cell A2 Step 2: Get X position from cell B2 Step 3: Get Y position from cell C2 Step 4: Get Width from cell D2 Step 5: Get Height from cell E2 Step 6: Place image on canvas with these parameters
Image import and placement in Figma - Cell-by-Cell Formula Trace
Start learning this pattern below
Jump into concepts and practice - no test required
PlaceImage(URL=A2, X=B2, Y=C2, Width=D2, Height=E2)This command imports an image from the URL in cell A2 and places it on the canvas at the X and Y coordinates from cells B2 and C2, sized by the Width and Height from cells D2 and E2.
| Step | Expression | Evaluates To | Explanation |
|---|---|---|---|
| 1 | URL = A2 | "https://example.com/logo.png" | Image URL is read from cell A2. |
| 2 | X = B2 | 100 | X position is read from cell B2. |
| 3 | Y = C2 | 150 | Y position is read from cell C2. |
| 4 | Width = D2 | 200 | Width is read from cell D2. |
| 5 | Height = E2 | 100 | Height is read from cell E2. |
| 6 | PlaceImage("https://example.com/logo.png", 100, 150, 200, 100) | Image placed at (100,150) with size 200x100 | Image is imported and placed on the canvas with the specified parameters. |
| Variable | Value |
|---|---|
| URL | "https://example.com/logo.png" |
| X | 100 |
| Y | 150 |
| Width | 200 |
| Height | 100 |
Practice
What is the first step to add an image to your Figma design?
Choose the correct option.
Solution
Step 1: Locate the image import option
In Figma, images are imported using the 'Place Image' option found in the File menu.Step 2: Use the 'Place Image' option
Selecting this option allows you to browse and choose an image file to add to your design.Final Answer:
Use the 'Place Image' option from the File menu -> Option BQuick Check:
Image import starts with 'Place Image' [OK]
- Trying to paste images directly without importing
- Using shape tools instead of image import
- Assuming text tool can add images
Which of the following is the correct way to place an image on the canvas after importing it in Figma?
Solution
Step 1: Import the image using 'Place Image'
After selecting the image file, Figma lets you place it by clicking on the canvas.Step 2: Click on the canvas to place
Clicking once places the image at that point; you can then move or resize it.Final Answer:
Click anywhere on the canvas to place the image -> Option CQuick Check:
Place image by clicking canvas [OK]
- Trying to drag images from layers panel before placing
- Double-clicking image files outside Figma
- Using paste option without copying image
After importing and placing an image in Figma, you want to resize it proportionally. Which key should you hold while dragging a corner handle?
Solution
Step 1: Understand resizing behavior
Dragging a corner handle resizes the image but may distort it if proportions are not locked.Step 2: Hold Shift to keep proportions
Holding the Shift key while dragging keeps the width and height ratio fixed, resizing proportionally.Final Answer:
Shift key -> Option AQuick Check:
Shift locks aspect ratio during resize [OK]
- Using Ctrl or Alt which do other actions
- Not holding any key and distorting image
- Pressing Spacebar which moves the canvas
You imported an image but it does not appear on the canvas after clicking to place it. What is the most likely reason?
Solution
Step 1: Check placement location
If the image is placed outside the visible canvas, it won't be seen even though it exists in the file.Step 2: Verify canvas view and move image
Zoom out or pan to find the image, then move it inside the visible area.Final Answer:
The image was placed outside the visible canvas area -> Option AQuick Check:
Image off-canvas causes invisibility [OK]
- Assuming unsupported format without checking
- Thinking image must be selected again after import
- Believing canvas lock prevents image placement
You want to add a company logo to your BI report in Figma and ensure it fits perfectly inside a 200x100 pixel frame without distortion. What is the best way to do this?
Solution
Step 1: Place and resize image proportionally
Import the logo and resize it holding Shift to keep proportions within the frame size.Step 2: Use masking with the 200x100 frame
Create a frame of 200x100 pixels and mask the resized image to fit perfectly without distortion.Final Answer:
Place the image, resize it holding Shift, then mask it with the 200x100 frame -> Option DQuick Check:
Resize with Shift + mask for perfect fit [OK]
- Stretching image distorts logo
- Using pattern fill which may tile image
- Cropping without resizing causes cut-off
