When a user clicks on an image within the chat window that image source is passed to a new instance of ImagePreviewer that renders the image on a window with a width/height based on the image attributes. The user is then able to open that image in their default browser or close the window through two methods: Esc and clicking anywhere off that window.
When a user clicks on an image within the chat window that image source is passed to a new instance of
ImagePreviewer
that renders the image on a window with a width/height based on the image attributes. The user is then able to open that image in their default browser or close the window through two methods:Esc
and clicking anywhere off that window.