π― YFG 15 Image Switcher
15 images, one dropdown, and a diagram that shows the active path
- Image 1
- Image 2
- Image 3
- Image 4
- Image 5
- Image 6
- Image 7
- Image 8
- Image 9
- Image 10
- Image 11
- Image 12
- Image 13
- Image 14
- Image 15
- Selected Image
- Connection Diagram
At fifteen inputs this switcher has left "compare a couple of variants" behind and entered "I'm auditing a batch" territory. If you're stacking up a big grid of seeds, sampler settings, or upscale passes and want to flip through them without a wall of individual preview nodes, this is the tool: fifteen IMAGE slots, one selected_image dropdown, and an output that mirrors whichever slot you chose.
It's from the YFG Comical pack (gonzalu/ComfyUI_YFG_Comical), which ships the identical switcher design at 3, 5, 10, 15, and 20 inputs. All share the same behavior: the selected tensor passes straight through, unconnected inputs are tolerated instead of erroring, and preview_type lets you swap the node preview between the selected image and a generated Connection Diagram - a routing graphic that highlights which of the fifteen inputs is live.
Inputs and outputs
The only input that matters is selected_image. The font/label settings (font_size, font_color, font_file, image_label) just decorate the preview image, and preview turns the preview off entirely if you want a compact node. Outputs are Selected Image (IMAGE) - the one you wire forward - and Connection Diagram (IMAGE), which you'll usually leave floating.
Installing
One install covers all fifteen inputs and the rest of the pack: search "YFG Comical" in ComfyUI Manager, or
cd ComfyUI/custom_nodes
git clone https://github.com/gonzalu/ComfyUI_YFG_Comical
Restart ComfyUI. The switchers need only PIL. If the whole pack fails on import, it's the undeclared cv2/matplotlib in the histogram and mask files - pip install opencv-python matplotlib fixes it.
The honest part
Be realistic about whether you'll wire all fifteen slots. Most people won't, most of the time - and a half-empty 15-input node is just a bigger version of the 3-input one. The diagram preview is genuinely the best reason to pick this family over stock ComfyUI. And if you're hitting 15 inputs, consider whether a by_index-driven picker (like the pack's Random Image From Directory node in by_index mode) might not serve your batch-audit workflow better than manually flipping a dropdown.
Inputs (22)
| Name | Type | Default | Description |
|---|---|---|---|
| selected_image | COMBO | Image 1 | 15 options: Image 1, Image 2, Image 3, Image 4, Image 5, Image 6, +9 |
| font_size | COMBO | Medium | 3 options: Small, Medium, Large |
| font_color | COMBO | White | 8 options: White, Black, Red, Green, Blue, Yellow, +2 |
| font_file | STRING | seguisb.ttf | β |
| image_label | BOOLEAN | true | β |
| preview | BOOLEAN | true | β |
| preview_type | COMBO | Input Image | 2 options: Input Image, Connection Diagram |
| Image 1opt | IMAGE | β | |
| Image 2opt | IMAGE | β | |
| Image 3opt | IMAGE | β | |
| Image 4opt | IMAGE | β | |
| Image 5opt | IMAGE | β | |
| Image 6opt | IMAGE | β | |
| Image 7opt | IMAGE | β | |
| Image 8opt | IMAGE | β | |
| Image 9opt | IMAGE | β | |
| Image 10opt | IMAGE | β | |
| Image 11opt | IMAGE | β | |
| Image 12opt | IMAGE | β | |
| Image 13opt | IMAGE | β | |
| Image 14opt | IMAGE | β | |
| Image 15opt | IMAGE | β |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| Selected Image | IMAGE | β |
| Connection Diagram | IMAGE | β |