Initial release of ComfyUI Subfolder Image Loader
Features: - Subfolder navigation and dynamic image filtering - Support for all common image formats - Transparency mask extraction - Security validation and error handling - JavaScript frontend for real-time UI updates
This commit is contained in:
18
__init__.py
Normal file
18
__init__.py
Normal file
@@ -0,0 +1,18 @@
|
||||
# __init__.py
|
||||
from .subfolder_loader import SubfolderImageLoader
|
||||
|
||||
# Web directory for frontend assets
|
||||
WEB_DIRECTORY = "./web"
|
||||
|
||||
# Required: Maps node identifier to class
|
||||
NODE_CLASS_MAPPINGS = {
|
||||
"SubfolderImageLoader": SubfolderImageLoader,
|
||||
}
|
||||
|
||||
# Optional: Maps identifier to display name
|
||||
NODE_DISPLAY_NAME_MAPPINGS = {
|
||||
"SubfolderImageLoader": "Subfolder Image Loader",
|
||||
}
|
||||
|
||||
# Export for ComfyUI discovery
|
||||
__all__ = ['NODE_CLASS_MAPPINGS', 'NODE_DISPLAY_NAME_MAPPINGS', 'WEB_DIRECTORY']
|
||||
Reference in New Issue
Block a user