I want to be able to upload images to my chatroom in the chat. How?
You are going to need to use filereaders for uploading images from the user's computer. I have a great tutorial on it:
I would recommend reading the file as a data URL. That way you can simply send it to the server to store (I also recommend making a file size limit) and use that data-url as the source of an