Extend the LoadImage node in ComfyUI to support image selection from subfolders, enhancing the flexibility of image management in your projects. This tool allows users to specify a subfolder within the input directory for more organized access to images.
- Enables loading images directly from specified subfolders, streamlining the process of image selection.
- Provides clear feedback when a subfolder does not exist or contains no images, preventing confusion during workflow.
- Maintains default functionality by allowing images to be loaded from the main input directory when no subfolder is specified.
Context
This tool is an extension for ComfyUI that enhances the existing LoadImage node by allowing users to select images from subfolders within the input directory. Its purpose is to facilitate better organization and access to images, which is particularly useful for projects with numerous image assets.
Key Features & Benefits
The primary feature of this tool is its ability to specify subfolder paths for image loading, which is crucial for managing large datasets. By allowing users to input a subfolder name, it simplifies the process of locating and utilizing images without needing to sift through a cluttered main directory.
Advanced Functionalities
This extension includes error handling that provides users with immediate feedback if the specified subfolder does not exist or contains no images. This functionality is essential for maintaining an efficient workflow, as it prevents users from attempting to load non-existent resources.
Practical Benefits
By integrating this tool into their workflow, users can significantly improve their efficiency and control over image assets in ComfyUI. The ability to load images from subfolders enhances organization, reduces the time spent searching for files, and ultimately leads to a more streamlined creative process.
Credits/Acknowledgments
This tool was developed by contributors to the ComfyUI community, with the original author being recognized for their effort in enhancing the functionality of the LoadImage node. The extension is open source, allowing for continued improvements and updates by the community.