0
I’m developing a mobile app in React where there will be several profiles, with up to 5 photos each. Our api is currently in aspnet core 2.0 and we use mongodb as a database. My question is this, what is the best way to accomplish this implementation considering that these photos will be shown practically every time a user’s profile is uploaded? Thanks for your help.
You can save BLOB on Mongodb?
– Marcelo Shiniti Uchimura
can save data in binary yes
– Vicenzo Martinelli
Any problem saving only the image address in string form?
– Fabri Damazio
It is not advisable to store images in BD. Especially if you will have great access. Look more on the subject as it has enough content on it.
– rbz
Create a folder with file indexing, after the creation of the folder upload the files to it and just save the photo path in the database. A much simpler and more economical way.
– Rafael Marques