I have a button which calls image.open
and a drop down menu which is the "image" property of an Image Texture node. For now, the user must click to open a new image and then select that image from the drop down menu.
How could I automatically set the opened image as the "image" property for the node upon opening it?