I want such functionality in my app:
User can attach an image from the local machine;
Each img will be stored in a DB;
Other users from other computers want to see the image too;
The Question is : How can I store an image in a DB, so that I avoid using paths to that img on the local machine, because if I do, it will be displayed on only the users that uploaded the img machine, others won't be able to see it? I'm using the MERN stack. Is there a way to store img's info in int format, and then rendering it int data to an image on frontend? MongoDB, ExpressJS, and React.