Please sir I'm having issues with my project, after submitting the form and choose image the image will show and later on it will not show again, this is a live project I use mongodb I don't know maybe MongoDB can't store image or my referring is wrong
If it is displaying and then disappear after few hours, the problem will be with the hosting provider. Some hosting providers do not provide persistent storage. Try using Heroku or Google Cloud.
@@AdnanAfzal565 thank you very much ,I taught the issue is from mongodb,I was advice to use cloudinary but I'm not convenient with it 😊but this reply save my life ♥️♥️♥️♥️
This video is very useful, it helps me to better understand multiple images using nodejs , but if we are more users, how to assign images to them? I love all your videos, your channel is a great school of computer science🤗
While saving them in "images" collection, save a user object too: user: { _id: "id of user", name: "name", email: "email" } Then while displaying to user, use the mongo DB query: const images = db.collection("images").find({ "user._id": "user id" }).toArray() It will return all images assigned to that user.
@@AdnanAfzal565 thanks bro, but Am trying to update it also to a social network code , but something wrong , I hope you will add this multiple image featured into social network video ...🤖
Please sir I'm having issues with my project, after submitting the form and choose image the image will show and later on it will not show again, this is a live project I use mongodb I don't know maybe MongoDB can't store image or my referring is wrong
If it is displaying and then disappear after few hours, the problem will be with the hosting provider. Some hosting providers do not provide persistent storage. Try using Heroku or Google Cloud.
@@AdnanAfzal565 thank you very much ,I taught the issue is from mongodb,I was advice to use cloudinary but I'm not convenient with it 😊but this reply save my life ♥️♥️♥️♥️
You are welcome. Glad it helped :)
This video is very useful, it helps me to better understand multiple images using nodejs , but if we are more users, how to assign images to them? I love all your videos, your channel is a great school of computer science🤗
While saving them in "images" collection, save a user object too:
user: {
_id: "id of user",
name: "name",
email: "email"
}
Then while displaying to user, use the mongo DB query:
const images = db.collection("images").find({
"user._id": "user id"
}).toArray()
It will return all images assigned to that user.
@@AdnanAfzal565 thanks bro, but Am trying to update it also to a social network code , but something wrong , I hope you will add this multiple image featured into social network video ...🤖
Okay. You can try to add it in social network because that is in Node JS and Mongo DB too. I will add it in its next release.
@@AdnanAfzal565 that s nice, Am waiting for it so , thank you so much! 💗
You are welcome.
Thank you for sharing the knowledge. R. R
You are welcome.
thank you, I make this app work!
Thank you.