Comfy-Org / Comfy-Org/ComfyUI_frontend

[Feature Request]: Allow usage of thumbnailVariant in custom_nodes

Open
#3,684 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
2k
Forks
699
Avg merge
1d 7h
Merged PRs (30d)
490

Description

### Is there an existing issue for this?

- [x] I have searched the existing issues and checked the recent builds/commits

### What would your feature do ?

I would like to be able to use the same thumbnailVariant in custom_nodes as the one used in Comfy core templates.

### Proposed workflow

1. If user provide the right data (naming convention and images)
2. The example workflow thumbnail correctly displays the variant in the example workflow list.

![Image](https://github.com/user-attachments/assets/52bb04a1-8183-47a1-b4de-fdd887465de3)

### Additional information

I proposed a MR for this in https://github.com/Comfy-Org/ComfyUI_frontend/pull/3682

Will add documentation in the custom nodes doc if it is acceptable.

┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-3684-Feature-Request-Allow-usage-of-thumbnailVariant-in-custom_nodes-1e46d73d365081c88383ddc0b7930c64) by [Unito](https://www.unito.io)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.