plz how i can store images and add them to each document.
i mean that for each document of product i need to add its photo in it using python
Hi @Mohamed_Hassan2,
Welcome to the MongoDB Community Forums 
You could store your image in the MongoDB using GridFs and PyMongo Tutorial link.
Apart from that here is all possible way explained:
I hope it helps!
Thanks,
Kushagra
plz i try to extract data and all is good but when i need to add a photo directly it fail:
and get me that error: