ComfyUI Extension: Image Chooser Classic

Authored by heyburns

Created

Updated

1 stars

A modern re-implementation of the classic a/cg-image-picker ComfyUI nodes. Keep the workflow-pausing image selection experience while shedding the legacy compatibility shims.

Custom Nodes (0)

    README

    Image Chooser Classic

    A modern re-implementation of the classic cg-image-picker ComfyUI nodes. Keep the workflow-pausing image selection experience while shedding the legacy compatibility shims.

    What’s inside

    Install either – or both – of the chooser nodes:

    | Node | Description | |------|-------------| | Image Chooser | Streamlined overlay picker that appears when a workflow pauses. | | Image Chooser Classic | Inline widget that renders thumbnails inside the node body. |

    <p align="center"> <img src="docs/image-chooser-overlay.png" alt="Image Chooser overlay" width="90%" /> <br /> <img src="docs/image-chooser-classic.png" alt="Image Chooser Classic widget" width="50%" /> </p>

    Features

    • Accept batched images/latents/masks and return only the chosen subset.
    • Supports “progress first pick”, queue cancellation, and familiar hotkeys (19, 0, Esc).
    • Rewritten front-end using modern ComfyUI extension APIs.

    Installation

    Clone or copy the repository into your ComfyUI/custom_nodes folder:

    cd ComfyUI/custom_nodes
    git clone https://github.com/heyburns/image-chooser-classic.git
    

    Restart (or hard-refresh) ComfyUI so the new JavaScript files load. The Add Node dialog will list:

    • Image Chooser
    • Image Chooser Classic

    ⚠️ Heads-up: The legacy cg-image-picker custom node registers the same messaging endpoint. Disable or remove it from custom_nodes before running these choosers, or the selection signal will never reach this implementation.

    Usage tips

    • Overlay node - ideal for large grids or when you want the chooser hovering over the canvas. Plays an optional alert sound when it pauses.
    • Classic node - keeps everything in the graph. The widget automatically resizes to show the entire batch.
    • Hotkeys - the chooser listens for 1-9 to toggle thumbnails, 0 to progress/cancel, and Esc to cancel.

    Differences from the original project

    • No extraneous build metadata or auxiliary nodes – just the two chooser implementations.
    • Front-end logic rewritten around the current ComfyUI extension APIs.
    • Small, focused code base that’s easy to extend (styling, additional modes, etc.).

    Contributing

    Fork away and adapt these choosers to your workflow. Pull requests are welcome – whether you add screenshots, alternative layouts, or automated tests.

    Enjoy choosing images the way you like! ✨