When you say the “stream image” are you referring to the thumbnail? and maybe custom image if offline?
Take a look at the part of the code where it outputs/selects “Online” vs “Offline”, you can use the same logic to display the images.
For “online” add an <img src=> tag for the thumbnail endpoint, and the same for offline, but using an offline thumbnail.
I assume all the code/logic you’d need is already in-front of you.