Nodes/ComfyUI Ino Nodes/Ino Load Image
ComfyUI Node

Ino Load Image

Load an image by path, not by clicking the upload box

By nobandegani·Created about a year ago·Updated 2 months ago· 6
Ino Load Image
    • success
    • message
    • rel_path
    • abs_path
    • image
    • mask
    parent_folder
    folder
    filename

    ComfyUI's built-in Load Image is fine until you need to load a file programmatically - because another node just saved it, because the filename is dynamic, because you're building an automated pipeline. That's exactly what Ino Load Image is for. Instead of picking from a dropdown, you give it a folder and a filename as strings, and it loads the image into an IMAGE tensor (plus an alpha MASK), with a clean success/failure signal you can route on.

    It's part of ComfyUI Ino Nodes (nobandegani/ComfyUI-InoNodes), the 125+-node V3-schema pack. It belongs to the file-family pattern the pack's README is proud of: every file-related node uses the same parent_folder / folder / filename inputs and the same success / message / rel_path / abs_path outputs, so this node's interface carries over to the pack's save, remove, and copy nodes unchanged.

    How it works

    Three inputs:

    • parent_folder - a dropdown with input, output, or temp. This scopes the path to ComfyUI's standard directories, so you never type an absolute path.
    • folder - the subfolder inside that parent, e.g. jobs/run_01.
    • filename - the file, with or without extension.

    The mechanism has two friendly touches. First, if you give a filename without an extension, it probes .jpg then .png and uses whichever exists - handy when a filename is being passed around without a suffix. Second, the README notes image loading handles EXIF rotation to match native ComfyUI behavior, so phone photos and camera exports don't come in sideways.

    Six outputs: the standard success, message, rel_path, abs_path quartet, then the goods - image (IMAGE) and mask (MASK). The mask comes from the image's alpha channel; a JPEG with no alpha gives you an empty mask, which is normal.

    Common issues

    • File not found returns a blank image, not an error. If the path is wrong you get success: False, a message like "File not found", and an empty 512×512 placeholder image. That's deliberate: it keeps the workflow running so you can debug, but it means you must check success if the downstream result matters.
    • filename is required. Empty filename → success: False immediately.
    • Paths are relative to the parent folder. Don't type /home/user/...; use the dropdown plus subfolder. The abs_path output shows you the absolute path if you need to verify.

    Installing it

    ComfyUI Ino Nodes installs like any custom node pack:

    • ComfyUI Manager (easiest): search for "ComfyUI Ino Nodes", install, restart.
    • Manual:
      cd ComfyUI/custom_nodes
      git clone https://github.com/nobandegani/ComfyUI-InoNodes.git
      cd ComfyUI-InoNodes
      pip install -r requirements.txt
      Then restart ComfyUI.

    Requires inopyutils and a current ComfyUI (V3 schema). It's a niche pack with little community chatter, but when the filename isn't a constant - when it's coming from a node or a loop - this is the loader you want.

    CategoryInoImageHelper

    Inputs (3)

    NameTypeDefaultDescription
    parent_folderCOMBO3 options: input, output, temp
    folderSTRING
    filenameSTRING

    Outputs (6)

    NameTypeDescription
    successBOOLEAN
    messageSTRING
    rel_pathSTRING
    abs_pathSTRING
    imageIMAGE
    maskMASK