How do you use pictures that are in MongoDB? I’m using a CMS “Strapi” and there’s pictures that are being uploaded, but I don’t know how to access them. I have collections “fish” and “coral”, but Strapi created a collection “upload_image” but, how do I access the pictures in MongoDB, to loop through?
Read next

(node:16508) UnhandledPromiseRejectionWarning: TypeError: Cannot read property (solution) node js express error
Osman Forhad -

The key concepts of Redux you need to know as a React developer
Albert Hadacek -

Upload Single File In Node.js Using Express and Multer in 6 Steps
Aimal Maarij -

What key did I press?
Patrik Mäsiar -
Discussion (2)
Storing images as blobs on a database (SQL or NoSQL) is usually a bad practice, and I really doubt Strapi is storing them in MongoDB. What happens most of the time is the image gets uploaded to some folder on your server and the path to such image is stored in the database (MongoDB in this case).
I would recomend looking first at Strapi's documentation if you have not already done so; also take a look at your server folders, there must be a folder where the images are saved (file names will probably be different, but the files should still be there as images).
In this case, I suggest to use a storage service like Amazon S3 to save your files and get the absolute path returned by S3 and then save them in your MongoDB.
Avoid to save binary files into database.