Nodes/Nour_Comfy/Nourivex Preview Image
ComfyUI Node

Nourivex Preview Image

A preview node that lets the image keep traveling

By Nourivex·Created 6 months ago·Updated 6 months ago· 0
Nourivex Preview Image
  • images
  • IMAGE

Here's a tiny asymmetry in ComfyUI that trips people up: the core PreviewImage node is an output node, which means it ends the graph. Whatever you connect to it gets shown but doesn't come back out - if you want to preview an image mid-pipeline and keep the wire going to the next step, the core node alone can't do that. Nourivex Preview Image is the fix: it shows you the image and passes the same IMAGE right back out the other side.

What it does

One input, one output, both IMAGE:

  • images in → it previews them, then returns the exact same tensor.
  • IMAGE out → keeps flowing to whatever comes next.

Under the hood it calls the core PreviewImage node's save routine (previews land in the NourivexPreview subfolder), wraps that call in a try/except so a preview hiccup can't kill your generation, and returns the tensor regardless. Marked as an output node so the backend always executes it, which is what you want for a preview.

Why you'd reach for it

Two spots in a workflow, really. Mid-graph, as a checkpoint: the pack's Flux Klein workflow puts one right after VAEDecodeTiled so you can eyeball the raw result before it goes into the upscale path - a "look at this before you spend time on it" gate that doesn't break the chain. And at the end, as the final destination, where it does the job of the core preview node. The pack's default flow ends at exactly this node (or you swap it for a SaveImage when you want to write files).

The practical difference from just using PreviewImage: with the core node, previewing mid-pipeline means inserting a node and then re-wiring around it, or settling for a SaveImage and an empty preview. This node removes the decision. It's a small quality-of-life thing, and honestly if you never preview mid-graph you'll never miss it - but in a graph that's being iterated hard, a peek point that doesn't force a rewire is worth having.

One note so you're not surprised: because it's an output node, whatever it previews is cached in the UI's history like any preview, and the metadata convention still applies - the workflow that produced the image is embedded in anything you save from further down the line. Nothing special about this node there; it's the same ecosystem rule as everywhere else.

Install

Standard pack install:

cd ComfyUI/custom_nodes
git clone https://github.com/Nourivex/Nour_Comfy

Restart ComfyUI (or search Nour_Comfy in ComfyUI Manager). No dependencies, no downloads. It's a convenience node - install it because the pack's workflows reference it, not because you'd go hunting for it on its own.

CategoryNourivex/IO

Inputs (1)

NameTypeDefaultDescription
imagesIMAGE

Outputs (1)

NameTypeDescription
IMAGEIMAGE