Set as Thumbnail missing from the plugin API

:wave:

I’m developing Better File Thumbnails which is a plugin that creates thumbnails for files (duh) and I would find Set as thumbnail very useful for that.

Right now I’m still using the old method of the first page since that’s the only thing that can be done via API, but my users are frequently requesting for thumbnails to be set via Figma’s native option.

So Figmates: I understand that this might be more of a niche API property, but at the same time it’s pretty simple and shouldn’t be much work to add. Any idea if that could be added ever?

8 Likes

With new Starter plan changes coming this is becoming crucial as my plugin relies on creating a new page and those will be limited. Any idea if that could be squized into the next API update? @Josh any way you could push this to the team? Thanks!

4 Likes

Please :pray:

I like @_Hal’s suggestion on this related topic: can-we-have-a-api-to-get-thumbnail-node/3550 (Figma won’t allow me to add links here)

Maybe it’s like:
set: figma.setThumbnail(node)
get: figma.getThumbnail()

I want an API to get/set thumbnail for a file.

Maybe it’s like:

set: figma.setThumbnail(node)
get: figma.getThumbnail()

1 Like

Changed the category of the topic so that you can vote for it.

Added in Version 1, Update 42 · Figma Developers
figma.getFileThumbnailNode()
figma.setFileThumbnailNodeAsync(node)

3 Likes