I don't need gridFs as my images file won't be more than 16mb for sure. I also don't need file storage like s3 which I used for most of the project.
I have confusion with using bson data to directly store the image to mongodb document. Says I don't have a file from client, I have just an image link like example.com/v1/myImg.jpge, what should I do first? convert the images to base64 and then store it as binary type?