Restore search aliases

This commit is contained in:
molbal 2026-01-26 22:06:14 +01:00 committed by GitHub
parent 25d4954b10
commit 27f40af5f5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1714,6 +1714,7 @@ class LoadImage:
CATEGORY = "image"
RETURN_TYPES = ("IMAGE", "MASK")
FUNCTION = "load_image"
SEARCH_ALIASES = ["load image", "open image", "import image", "image input", "upload image", "read image", "image loader"]
def load_image(self, image):
image_path = folder_paths.get_annotated_filepath(image)
img = node_helpers.pillow(Image.open, image_path)