ComfyUI Node
ITL Multi Image Loader
Drop up to 8 images onto the node; each gets its own image_N output socket (sockets appear/disappear with the list, or pin output_slots to a fixed count so wires survive file edits). Each row has an on/off toggle: a switched-off row keeps its socket position but outputs None for image_N (and mask_N/filename_N on Advanced) — equivalent to leaving an unplugged OPTIONAL input, so don't switch off a row feeding a REQUIRED input. Optional downscaling: set downscale_mode to keep aspect ratio/crop to square/stretch to square and images larger than max_size shrink on load. count = number of files actually emitted (enabled rows), not the row count.
ITL Multi Image Loader
- count
- image_1
- image_2
- image_3
- image_4
- image_5
- image_6
- image_7
- image_8
◄files_json[]►
◄downscale_modeoff►
◄max_size1200►
◄output_slotsauto►
CategoryInto The Latent/image
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| files_json | STRING | [] | Authoritative file list as JSON. Hidden in the UI and kept in sync by the front-end — drop files onto the node instead of editing this. |
| downscale_mode | COMBO | off | off = images pass through untouched. keep aspect ratio = shrink keeping shape so the longest edge is max_size. crop to square = centered square, at most max_size. stretch to square = force a max_size square (ignores shape). Never upscales (keep aspect ratio/crop to square); masks follow their image. |
| max_size | INT | 12008–8192 | Size threshold/target in pixels for downscaling. Ignored while downscale_mode is off. |
| output_slots | COMBO | auto | How many output sockets to show. 'auto' follows the number of loaded files, so sockets appear and disappear as you edit the list. Pick a fixed number to keep the sockets (and your wires) in place while you swap files around — extra sockets with no file behind them output nothing, so don't wire more than you load. |
Outputs (9)
| Name | Type | Description |
|---|---|---|
| count | INT | — |
| image_1 | IMAGE | — |
| image_2 | IMAGE | — |
| image_3 | IMAGE | — |
| image_4 | IMAGE | — |
| image_5 | IMAGE | — |
| image_6 | IMAGE | — |
| image_7 | IMAGE | — |
| image_8 | IMAGE | — |