Download comfyui_fill-nodes/web/nodes/image/SaveAndDisplayImage.js from MarkLilly/mis-custom-nodes: direct link, hf CLI and curl.
- Browser
- Download file 272 Bytes
-
https://huggingface.co/MarkLilly/mis-custom-nodes/resolve/main/comfyui_fill-nodes/web/nodes/image/SaveAndDisplayImage.js
- Command line
-
hf download hf://MarkLilly/mis-custom-nodes/comfyui_fill-nodes/web/nodes/image/SaveAndDisplayImage.js
-
curl -L -o SaveAndDisplayImage.js https://huggingface.co/MarkLilly/mis-custom-nodes/resolve/main/comfyui_fill-nodes/web/nodes/image/SaveAndDisplayImage.js
272 Bytes
| import { app } from "../../../../scripts/app.js"; | |
| app.registerExtension({ | |
| name: "Comfy.SaveAndDisplayImage", | |
| async nodeCreated(node) { | |
| if (node.comfyClass === "SaveAndDisplayImage") { | |
| node.addWidget("image", "preview", ""); | |
| } | |
| } | |
| }); |