ComfyUI icon indicating copy to clipboard operation
ComfyUI copied to clipboard

FEAT: Add subfolder selection to LoadImage node

Open thelemuet opened this issue 1 year ago • 9 comments

Add subfolder selection to LoadImage node, allowing to list images from ComfyUI/input/subfolders (if any).

imgload

For people like me who almost exclusively do img2img the input/ folder gets really messy very quickly, easily can get to multiple hundreds of files in there with no way to categorize.

I could be mistaken but I believe this addition would not really add complexity or confusion to users, simply set as default and it can be ignored.

There are some great custom nodes that I use a lot such as Image Sequence Loader by melMass, that allow to enter custom path, perfect for files with specific naming convention (ie: animation sequence). But for general purpose I have not found a custom node solution, hence the feature suggestion.

thelemuet avatar Aug 14 '23 19:08 thelemuet

I completely agree. I'm attempting to add my path selector as a custom node that does precisely this, but honestly, I'm having quite a bit of trouble making it "comfy-ish" using folder_paths.py's examples.

I might share a dodgy version if I can get something at least functional and then maybe iterate on it, as it's a feature I desperately want.

I for example have the use case of storing my SDXL and SD1.5 together, and I would like to filter to SDXL models loras etc only when I'm on an SDXL workflow.

HaydenReeve avatar Feb 18 '24 12:02 HaydenReeve

Any update on this anyone?

HiProAI avatar Mar 14 '24 07:03 HiProAI

The default LoadImage node does not support subfolders. It also does not support preview images before selecting them. It becomes very uncomfortable to use when there are a lot of images in the folder, all with non-descriptive file names.

My current solution is to use the ImageLoad node from WAS Node Suit instead. I browse images in the Input folder or other folders using Double Commander because it has a shortcut key to copy the file path. (well.. I just learned that this shortcut Ctrl+Shift+C works in Windows Explorer too.) Then I can paste the path into the ImageLoad node quickly.

Are there any other good solutions?

pto2k avatar Apr 05 '24 02:04 pto2k

A quick update from me, I am working on this implementation now. It's slow progress as my bucket is particularly full at the moment, but I am hoping to finish this month along with a few other string/path quality of life improvements.

HaydenReeve avatar Apr 05 '24 04:04 HaydenReeve