It’s possible, but not without a fair bit of coding - is there any particular reason you need to use the images directly from an online source? If not I would recommend just downloading them and referring to local paths.
There is a huge number of image-urls which I draw randomly from, so I wanted to avoid downloading all those images. My - naive - assumption was that there may be a simple way to just use the url to the image file similar to how I could use the local file path.
My solution now is to download the image for a given trial and to overwrite this file on every trial (using urllib.request.urlretrieve(url, 'last_image.png)). This works fine.
Wow, wasn’t expecting that to work… I thought you’d have to convert the data received to a PIL before supplying it to the Image component, but I guess urlretrieve already returns it in the correct format. This is good to know, thanks!