Nodes/ComfyUI Steudio/Load Images into List
ComfyUI Node

Load Images into List

Load every image in a folder as a list — the hidden workhorse for tile workflows

By Steudio·Created 2 years ago·Updated 9 months ago· 147
Load Images into List
    • image
    directory

    ComfyUI's default LoadImage is a single-image node. If you want to process a whole folder of images - say, a stack of tiles you exported from another tool, or a directory of frames you're upscaling - you either wire up a clunky batch hack or you install a node like this one. Load Images into List does exactly one job: point it at a directory, get every image in it back as a list, sorted by filename.

    The practical tie-in to the rest of this pack is Combine Tiles. The Divide and Conquer suite expects tiles to arrive as a list, and if your tiles were produced and saved outside the graph (or by an earlier run you want to reprocess), this node is the natural way to get them back in. It also plays nicely as a general batch-loader for anything list-based: feed the list into a per-image loop, a comparison node, or any node with a list input.

    Inputs and outputs

    One input, one output - this is about as uncluttered as a node gets:

    • directory - an absolute filesystem path to the folder. This is not the ComfyUI /input picker; you type or paste the full path, e.g. D:\upscales\tiles or /home/me/upscales/tiles.
    • image - every image in the folder, as a list of single-image tensors, in sorted filename order.

    Under the hood it filters to .jpg, .jpeg, .png, and .webp, applies EXIF orientation (so phone photos aren't sideways), converts to RGB, and normalizes to 0–1 like any other ComfyUI image. Files that fail to load get skipped and logged rather than crashing the whole run.

    Install

    Part of the ComfyUI Steudio pack - the same install that gets you the Divide and Conquer suite:

    cd ComfyUI/custom_nodes
    git clone https://github.com/Steudio/ComfyUI_Steudio
    

    Restart ComfyUI, or install via ComfyUI Manager by searching ComfyUI Steudio. No dependencies, no model files.

    One thing to know before you point it at a folder: it will throw a clear error if the directory doesn't exist, is empty, or contains no supported image files - that's deliberate, not a bug. The error message names the problem, so the fix is usually "fix the path" or "put images in the folder." Worth also knowing that this is a lifted-and-adapted version of the KJNodes folder loader, so if you already have KJNodes installed you may already own an equivalent node - but if you're running this pack for the suite anyway, it's right there in the Utils menu.

    CategorySteudio/Utils

    Inputs (1)

    NameTypeDefaultDescription
    directorySTRING

    Outputs (1)

    NameTypeDescription
    imageIMAGE