Present Image
Preview and save in one node, with a flip of a switch
- images
The Preview and Save Image nodes, merged into one that listens to you
Every ComfyUI workflow ends the same way: an image appears, and you either save it or you don't. The stock nodes make you choose - Preview writes to temp, Save Image writes to disk - so toggling between "just looking" and "keep this one" means swapping nodes. Present Image (ETPresentImageNode) from the Info Utils pack merges the two into a single node with a save toggle, plus control over exactly where and under what name files land.
That toggle is the whole pitch. While you're dialing in prompts and seeds, flip save off and you get fast previews that don't clutter your output folder. When a run comes out right, flip it on and rerun - or just leave it on and let the node name files for you. It's a quality-of-life node, the kind you stop noticing once it's in your default workflow.
The inputs that matter
images- the IMAGE batch to handle.save- BOOLEAN, defaults to true. Off means preview-only (written to the temp directory).folder_path- where to save. Empty means ComfyUI's default output folder. A relative path likesamples/portraitis joined onto the output folder; an absolute path is used as-is. Created automatically if missing.file_name- defaultComfyUI_%counter%_. The%counter%marker becomes a zero-padded number (00001, 00002…) that keeps counting up across runs.
How it works
The mechanism is straightforward under the hood. With save on, each image is written as a PNG to your target folder at compression level 6, with the workflow prompt and metadata embedded in the file (unless ComfyUI was started with --disable-metadata). With save off, it writes to the temp directory with a random prefix at fast compression level 1 - just enough to display, nothing persisted.
The counter is smarter than it looks: before writing, it scans the folder for existing files matching your file_name pattern and continues from the highest number, so you don't overwrite your earlier saves.
How to install it
Ships in Info Utils (exectails/comfyui-et_infoutils), no dependencies, no model downloads. Install via ComfyUI Manager (search "Info Utils") or:
cd ComfyUI/custom_nodes
git clone https://github.com/exectails/comfyui-et_infoutils
Restart ComfyUI and find Present Image under exectails/Info.
The gotchas worth knowing
- It always writes PNG. No JPG option. Fine for most use; if you need compact web-ready files you'll still reach for a dedicated save node or a post step.
- The counter only matches your exact name pattern. Change
file_nameand the counter resets to 1 - old files aren't counted, so you could end up with001.pngfrom two different runs if you keep swapping patterns. saveoff means gone. The temp preview disappears when ComfyUI cleans up. If a run turns out to be the keeper and you had saving off, rerun with it on - or just default it to on and tolerate the extra files.- It has no outputs. It's a terminal node; wire images in, get results on the node and on disk.
For a one-node "preview now, save when I say so" workflow, it earns its slot. Most of the pack's nodes are tiny conveniences; this one quietly replaces two stock nodes you'd otherwise keep swapping.
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| images | IMAGE | The images to handle. | |
| save | BOOLEAN | true | Whether to save the images to disk. |
| folder_path | STRING | The folder path to save the images to. If empty, the default output directory will be used. | |
| file_name | STRING | ComfyUI_%counter%_ | The name of the file to save. Use %counter% to insert a counter. |
Outputs (0)
No outputs