Nodes/Deno Custom Nodes/(Deno) Advanced Image Source Loader
ComfyUI Node

(Deno) Advanced Image Source Loader

When your reference images live outside ComfyUI's input folder

By Deno2026·Created 5 months ago·Updated about 20 hours ago· 157
(Deno) Advanced Image Source Loader
  • images
  • batch
  • image_list
  • width
  • height
  • image_count
image_paths
modeKeep Input Ratio
ratio_preset16:9
megapixels1.00
width1024
height1024
divisible_by32
interpolationlanczos
resize_methodCenter Crop (Fill)
recursive_foldersfalse
list_output_modeOriginal Size
disabled_image_paths

The standard (Deno) Multi Image Loader assumes your images live in ComfyUI/input, which is the right assumption for most people and most workflows. (Deno) Advanced Image Source Loader is for the rest: external local folders anywhere on disk, absolute file paths, and web image URLs. If your references sit in a shared project folder, a NAS, or a URL list, this node loads them without you copying anything into the input folder first - and it still hands you a clean batch tensor at the other end.

What's actually different

The gallery and resize machinery are familiar from the Multi Image Loader, with real upgrades:

  • External sources - image_paths accepts files, folders, absolute paths, and web URLs. Load Path reads an external folder directly without importing it into ComfyUI/input first (the Upload Folder... button is an optional browser helper, not a requirement).
  • recursive_folders - pull in images from nested subfolders.
  • Masonry thumbnails - mixed portrait/landscape references are much easier to scan than a uniform grid.
  • Disable without deleting - click a thumbnail to toggle a source off; skipped sources are saved in disabled_image_paths so your selection survives reloads.
  • Optional images input - chain an upstream image batch into the same output stream.

The two outputs that matter

This is where it beats the simpler loader. It outputs both a batch - all active sources resized into one same-size IMAGE tensor for normal batch workflows - and an image_list, for workflows that need per-image handling at different sizes. list_output_mode controls which: Original Size preserves mixed source resolutions in the list (useful for passing each reference at native res), Match Batch Size makes the list match the resized batch. You also get width, height, and image_count so downstream logic can react to what actually loaded.

The sizing inputs are the Deno standard: mode (Keep Input Ratio / Preset Ratio / Manual), megapixels (1), divisible_by (32), width/height (1024), interpolation (lanczos), and resize_method - this one has four options including center/top/bottom crop-fill.

Install and when to use it

Same pack, same install:

cd ComfyUI/custom_nodes
git clone https://github.com/Deno2026/comfyui-deno-custom-nodes.git
# restart ComfyUI

No extra dependencies. The author is explicit that the standard Multi Image Loader remains the simpler recommended option for normal input-folder workflows - this node is the advanced sibling, and it costs you a slightly busier UI. Reach for it when you find yourself copying folders into input just to test a workflow, or when a pipeline needs to pull references from a path that changes between runs.

The gotcha to know: image_paths is a UI-managed string - don't hand-type paths into it expecting them to stick, because the gallery state is the source of truth and hand edits get overwritten. And URL loading depends on network access from the ComfyUI process, so if a URL source silently fails, check your proxy/VPN situation before suspecting the node.

CategoryDeno/Image

Inputs (13)

NameTypeDefaultDescription
image_pathsSTRINGFiles, folders, absolute paths, or web URLs selected by the advanced source UI.
modeCOMBOKeep Input RatioChoose how images are resized for the batch output.
ratio_presetCOMBO16:9Target aspect ratio used in Preset Ratio mode.
megapixelsFLOAT1.000.01–10Target total image size in megapixels for automatic sizing modes.
widthINT102464–8192Manual or fallback output width in pixels.
heightINT102464–8192Manual or fallback output height in pixels.
divisible_byCOMBO32Round the final batch size to a model-safe multiple.
interpolationCOMBOlanczosResize filter. Lanczos is the default quality choice.
resize_methodCOMBOCenter Crop (Fill)Choose crop-fill, fit, or advanced size handling for loaded images.
recursive_foldersBOOLEANfalseInclude image files found inside subfolders.
list_output_modeCOMBOOriginal SizeChoose whether the image_list output keeps original sizes or matches the batch size.
disabled_image_pathsSTRINGSaved skipped sources. Managed by the UI when you disable items.
imagesoptIMAGEOptional incoming images to merge with the selected file/path sources.

Outputs (5)

NameTypeDescription
batchIMAGELoaded sources resized into one same-size IMAGE batch.
image_listIMAGELoaded sources as an IMAGE list for workflows that accept different-sized images.
widthINTFinal batch width in pixels.
heightINTFinal batch height in pixels.
image_countINTNumber of images loaded from all active sources.