| 开发者 | tomatoshift |
|---|---|
| 更新时间 | 2026年8月17日 23:31 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
/wp-content/plugins/ directory, or install the ZIP via Plugins > Add New.Yes. Pick WebP in the Figma plugin and the image is converted before it is sent; WordPress receives a finished .webp file. JPG and PNG work the same way. Allowed types are filterable via fig2wp_allowed_mimes.
Yes. Select any number of layers on the canvas and they upload as one batch.
No. That is the point of the plugin — there is no download, no Finder detour and no drag and drop into the Media Library.
Go to Settings > tomatoSHIFT Image Uploader for Figma and click Generate API Key. Copy it into the Figma plugin.
POST /wp-json/tomatoshift/v1/upload-images, or ?tomatoshift_upload=1 on the site root for hosts whose anti-bot layer blocks /wp-json/ paths.
No. The plugin makes no outbound requests; it only accepts uploads sent to your own WordPress site.
Only the Figma plugin. Cross-origin requests from anywhere else receive no CORS header and are blocked by the browser. The list is filterable via fig2wp_allowed_origins.
/wp-json/tomatoshift/v1/upload-images and ?tomatoshift_upload=1. The Figma plugin updates itself to match, so no reconnection is needed.wp-admin/includes/media.php; the remaining core includes now sit immediately before the function they load.fig2wp_allowed_origins.