Skip to content

ComfyUI Load Images from arbitrary folders including subfolders with in-node previews

License

Notifications You must be signed in to change notification settings

ComfyNodePRs/PR-ComfyUI_IF_AI_LoadImages-bf0bc9ed

 
 

Repository files navigation

Here’s the revised README section with the video tutorial link added:


ComfyUI_IF_AI_LoadImages

This tool enables you to load images from arbitrary folder selections, display previews of the images within subfolders, and output a list of images so you can work with multiple images simultaneously.

How to Use

  1. Select a folder containing images.
  2. The file browser will open automatically for folder selection.
  3. Copy the path to the clipboard.
  4. In ComfyV1: paste the path in the node, or in older Comfy versions: paste it into the browser message prompt.
  5. Set options for images and subfolder inclusion.
  6. Click "refresh" to load images based on your selected options.
  7. Play the queue.
  8. To use a single selected image, switch the option to true and queue the node (execute the workflow).

Note: This is a workaround solution, so it may feel a bit clunky but functions effectively.

Tutorial Video
Watch the video tutorial here

thorium_WAUJJwgYI6

Image Preview 1

TODO

  • Fix image extension filters
  • Fix Masks from mask editor
  • Fix single image upload
  • Add a counter to enable loops
  • Add support for video files

Support

If you find this tool useful, please consider supporting my work by:

You can also support by reporting issues or suggesting features. Your contributions help me bring updates and improvements to the project.

:IFAIloadImages_comfy

About

ComfyUI Load Images from arbitrary folders including subfolders with in-node previews

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 62.4%
  • JavaScript 37.6%