ComfyUI-Thumbnails

ComfyUI-Thumbnails
★ 39

图像缩略图懒加载文件管理子文件夹浏览
在ComfyUI中浏览并加载图像缩略图,支持删除图片、遍历输入子文件夹,提供懒加载、缩略图大小与文件名显示选项。
💡 在ComfyUI界面快速预览、筛选并管理输入文件夹内的图片。
🍴 7 Forks💻 JavaScript🔄 2025-09-02
📦
网盘下载
复制链接后前往夸克网盘下载
https://pan.quark.cn/s/51137d50651f
ComfyUI-Thumbnails-options
ComfyUI-Thumbnails-options
📄 README

[📷] Load Image Thumbnails for ComfyUI

Load Image thumbnails, delete images, browse input subfolders. Subfolders now load images!

Options

| Attribute | Default |

| — | — |

| Show File Names | False |

| Show Thumbnails | True |

| Thumbnails Size | 100 |

Thumbnails are lazy loaded, and sized by their max-height. It looks better that way, almost like a masonery. Example without filenames:

Installation

Manual Download

  • Open a terminal inside the ‘custom_nodes’ folder located in your ComfyUI installation dir
  • Use the git clone command to clone the ComfyUI-Thumbnails repo under ComfyUI\custom_nodes\
  • git clone https://github.com/audioscavenger/ComfyUI-Thumbnails

    Known Issues

  • Images loaded from subfolders will not close the parent folder yet. Just click anywhere to close the dialog.
  • does not handle more than 1 level of subfolders
  • RoadMap

    TODO list

  • [ ] test with pods
  • [ ] test with Linux
  • [ ] test with MacOS
  • [ ] fix parent root folder not closing or live with it
  • [x] browse subfolders of input – yay we did it!
  • [x] fix subfolder image calls: view&subfolder=folder stopped working
  • [x] pass subfolders as objects in py
  • [x] show subfolders as folder icon
  • [x] disable deleteBtn on folders
  • [x] remove litegraph event listener
  • [x] build actual list for files and subfolders in py
  • [x] replace [object Object] by folder name
  • [x] pass folders and their content to addImg
  • [x] create thisSubRoot content with subfolder files – kind of
  • [x] add .. folder to thisSubRoot
  • [x] store thisRoot in local storage – just files dictionary
  • [x] replace thisRoot content with new subfolder content with new click listener
  • [ ] show number of files over folder icons
  • [x] recurse subfolders
  • WIP 1.34

  • updated pyproject.toml
  • WIP 1.33

  • always show folder names
  • always rebuild foldersDict or Refresh Node Definitions would not reload new files in subfolders
  • WIP 1.32

  • removed import of core modules we don’t use in the py
  • WIP 1.31

  • fixed new settings syntax for Comfy 3.10
  • WIP 1.30

  • now we load subfolders, correct image paths, images load, but we can’t close the root LoadImage widget
  • WIP 1.27

  • now we load subfolders, correct image paths, images load, but we can’t close the root LoadImage widget
  • WIP 1.26

  • added version prompt at loading time
  • added import hashlib
  • fixed LoadImage override properly in __init__ and main class
  • WIP 1.25

  • moved foldersDict in storage, and fixed folder icons
  • WIP 1.24

  • fixed ComfyUI-Thumbnails/issues/2: no dependency on node_helpers.py anymore
  • WIP 1.23

  • try and fix after November 2024 upgrade to TS engine. Thumbnails are back baby!
  • BUG: second time you click on load image, foldersDict is empty -> all folders are therefore removed due to invalid extension
  • release 1.22

  • definitely chose api name as /customnode/deleteImage
  • release 1.21

  • bugfix for nodes taht load inexistant images like SDXL Empty Latent etc
  • release 1.20

  • added slide-in size
  • pre-load images
  • delete images
  • show image name on hover
  • release 1.10

  • published in comfy-registry
  • release 1.0.1

  • added option to hide filenames
  • release 1.00

  • It just works… stole some code from KJNodes again
  • :ribbon: Licence

    AGPL 3.0

    :beer: Buy me a beer

    Like my work? This tool helped you? Want to sponsor more awesomeness like this?