javascript – Mqtt Sending and Reciving Image

I am currently working on a project in which I want to send an image from raspberry pi to a broker then i want to diplay it to a web app (nodeJs backend and angular front).

This image would be sent from the back to the front and be displayed in real time using

I managed to create the sending part from the raspberry but I am having difficulties with the receiving part (I am new to this)

Can anybody point me in the right direction? I’m a bit lost in the matter.