Answer the question
In order to leave comments, you need to log in
Hello! Can you help me understand how to upload images to Mondodb in base64?
Mastering Node.Js, Express.Js Mongoose Mongodb. I am developing an ad site https://github.com/ghost-raven1/ads_site I really need a hint from those in the know. Need an easy way to add images to ads. Thanks in advance)
Answer the question
In order to leave comments, you need to log in
100500 times - no need! Don't store pictures in a database. You will need to use computing power, connect to the database, unpack the image from base64, and it weighs more to get it.
Store as white people on the disk and give it to the webserver. If the system is distributed then use object storage
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question