Database - Images

Asked

Viewed 672 times

0

I am very doubtful about a database that stores images and videos... I wonder if there is a database made to store only images, or I can store photos in a normal database?

I’m creating a mobile app with React Native, and the app stores images of users.

Well, thank you!!!

  • want to store in client or server?

  • I studied a little about client-server but I don’t understand much, can explain briefly about them?

1 answer

1


Good evening, I don’t know React-Native, However what I know about storing images in the database, Daria to store them transforming them into Base64 depends on the language the method to do this... this link teaches a direct method by BD is worth giving an analysis: http://www.lennonramos.com/2014/09/converter-stringimagem-para-base64-no.html

There are those who risk saving the address of the image, but this method I believe is risky because there may be depending on the server directory block, permission, or even come to change the directory.

On the videos, it would not be recommended to save in BD due to the size of the video files that are always too large and would send the BD performance away.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.