Comfy-Org / Comfy-Org/ComfyUI_frontend

Make user able to select from subfolder when using Load Image

Open
#6,440 1 comment 0 reactions 0 assignees View on GitHub
area:nodes enhancement Feature
Dominant language
TypeScript
Stars
2k
Forks
699
Avg merge
1d 7h
Merged PRs (30d)
490

Description

### Feature Idea

As in title.
Make user able to select image from subfolder when using Load Image or similar nodes.
For now input folder is 'flat', even if subfolders are there, they are not visible.
Input folder is growing very fast, it would be nice to have stuff there organized.
For example I want separate folder named 'poses' inside input/ for obvious reason.
IMO it is very helpful QoL feature. Thank you.

### Existing Solutions

_No response_

### Other

_No response_

---

*This issue is transferred from: https://github.com/comfyanonymous/ComfyUI/issues/5883*

Original issue was created by @Dunc4n1dah0 at 2024-12-03T13:12:15.000Z

**Original Comments:**

@LukeG89:

The current way to access images in subforders is using one of these custom nodes:

- [comfyui-imagesubfolders](https://github.com/catscandrive/comfyui-imagesubfolders)
- `Load Image with metadata` from [ComfyUI-Crystools](https://github.com/crystian/ComfyUI-Crystools)

But to be honest, I still don't understand why this is not a native feature.

@Dunc4n1dah0:

> The current way to access images in subforders is using one of these custom nodes:

>
> * [comfyui-imagesubfolders](https://github.com/catscandrive/comfyui-imagesubfolders)
> * `Load Image with metadata` from [ComfyUI-Crystools](https://github.com/crystian/ComfyUI-Crystools)
>
> But to be honest, I still don't understand why this is not a native feature.

Thanks for custom nodes, and yes I don't understand why this is not implemented from beginning, when we can load models, loras etc from subfolders.

@ltdrdata:

Please move this request to front repo.

https://github.com/Comfy-Org/ComfyUI_frontend

@LukeG89:

> Please move this request to front repo. https://github.com/Comfy-Org/ComfyUI_frontend

@ltdrdata An issue is already opened there (as a bug report):
- https://github.com/Comfy-Org/ComfyUI_frontend/issues/1250

And there was a feature request opened by huchenlei (which for some reason was closed):
- https://github.com/Comfy-Org/ComfyUI_frontend/issues/205

It appears this is a backend problem. Why is this issue being moved back and forth for so long?

@Dunc4n1dah0:

Maybe I don't know your naming rules in this project, but for me changes required in node python code are backend problem, and I don't see any commits, so why to just close it?

Also you have examples how to do it in custom nodes provided by @LukeG89 .

┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-6440-Make-user-able-to-select-from-subfolder-when-using-Load-Image-29c6d73d365081089a02dd9cf295c688) by [Unito](https://www.unito.io)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.