Ino Load Image
Load an image by path, not by clicking the upload box
- success
- message
- rel_path
- abs_path
- image
- mask
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 withinput,output, ortemp. 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, amessagelike "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 checksuccessif the downstream result matters. filenameis required. Empty filename →success: Falseimmediately.- Paths are relative to the parent folder. Don't type
/home/user/...; use the dropdown plus subfolder. Theabs_pathoutput 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:
Then restart ComfyUI.cd ComfyUI/custom_nodes git clone https://github.com/nobandegani/ComfyUI-InoNodes.git cd ComfyUI-InoNodes pip install -r requirements.txt
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.
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| parent_folder | COMBO | 3 options: input, output, temp | |
| folder | STRING | — | |
| filename | STRING | — |
Outputs (6)
| Name | Type | Description |
|---|---|---|
| success | BOOLEAN | — |
| message | STRING | — |
| rel_path | STRING | — |
| abs_path | STRING | — |
| image | IMAGE | — |
| mask | MASK | — |