ComfyUI Node
LC Image Batch From Folder 📂
Loads a folder of images as one batch in alphabetical order (img2 before img10). Valid: png, jpg, jpeg, webp, bmp, tif, tiff, gif (first frame). start_index + max_images pick a window of the folder. count = images loaded, total_found = images in the folder.
LC Image Batch From Folder 📂
- images
- count
- total_found
- filenames
◄folder_path►
◄start_index0►
◄max_images0►
◄size_modecrop►
◄include_subfoldersfalse►
CategoryLC123/image
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| folder_path | STRING | Full path or a folder name inside ComfyUI/input. Paste it however you like: with or without quotes, / or \. | |
| start_index | INT | 00–100000 | Skip this many images first (0 = start at the first one). |
| max_images | INT | 00–100000 | Load at most this many. 0 = all of them. Lower it if you run out of memory. |
| size_mode | COMBO | crop | Images that are not the size of the first one: crop to fill, pad with black, or stretch. |
| include_subfolders | BOOLEAN | false | — |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| images | IMAGE | — |
| count | INT | — |
| total_found | INT | — |
| filenames | STRING | — |