Add PreviewToLoad node for bridging preview images to LoadImage nodes
Previews an image (like PreviewImage) and saves a copy to input/ so a LoadImage node can reference it. JS extension adds a target-node-ID widget and "Send to Load Image" button that updates the target's combo. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -6,9 +6,13 @@ from .string_utils import (
|
||||
NODE_CLASS_MAPPINGS as _string_class_mappings,
|
||||
NODE_DISPLAY_NAME_MAPPINGS as _string_display_mappings,
|
||||
)
|
||||
from .image_preview import (
|
||||
NODE_CLASS_MAPPINGS as _image_class_mappings,
|
||||
NODE_DISPLAY_NAME_MAPPINGS as _image_display_mappings,
|
||||
)
|
||||
|
||||
NODE_CLASS_MAPPINGS = {**_json_class_mappings, **_string_class_mappings}
|
||||
NODE_DISPLAY_NAME_MAPPINGS = {**_json_display_mappings, **_string_display_mappings}
|
||||
NODE_CLASS_MAPPINGS = {**_json_class_mappings, **_string_class_mappings, **_image_class_mappings}
|
||||
NODE_DISPLAY_NAME_MAPPINGS = {**_json_display_mappings, **_string_display_mappings, **_image_display_mappings}
|
||||
|
||||
WEB_DIRECTORY = "./web"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user