figma_place_image
Place a local image file into a Figma node as an image fill. Automatically downscales large images and converts unsupported formats to PNG.
Instructions
Put a local image file into a node as an image fill. Any format the browser decodes (PNG, JPG, WebP, GIF, BMP, AVIF...): images over 4096px per side are downscaled automatically in the plugin UI and non-native formats are converted to PNG. The result reports what was done (prepared).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | Node that receives the image fill. | |
| maxSide | No | Downscale so the longest side is at most this many pixels (default 4096, the Figma limit). | |
| filePath | Yes | Absolute path to an image on this machine. | |
| scaleMode | No | Default FILL. |