[BUG] - converting image field from widget to input doesn't work
Description
I want to send images from another node to SD Prompt Reader, but if I convert the image field from widget to input, it won't allow connections from other nodes that output images.
Reproduction steps
- Convert image field from widget to input
- Try to connect another image output node to the SD Prompt Reader image input node. It won't accept it.
Image file
No response
This is most likely by design. The label of the input is image, but the type is COMBO. It works if you feed the input with the output of the SD Prompt Reader "batch loader" node. You can chain this with e.g. the "Load Image Extended" node from the Chibi-Nodes repo. This gives you the usual File Upload button, but you can feed the SD Batch Loader node with the image file path, which can feed the Prompt Reader node.
Thanks to @Clusters for the explanation. The image tag is special because it uses the same mechanism as Load Image node. This means it takes an image's address as input, not the image itself. Therefore, it can't be directly connected to an image.