Thor
Honorary Master
- Joined
- Jun 5, 2014
- Messages
- 44,236
So following my user authentication learning step the next phase is to allow the user to upload a profile picture, which leads me to this thread.
For Profile images ( 200 x 200 ) which is best; Blob in the DB or File System storage with the path stored in the DB?
Q Why do I think I want to store the profile images in the DB?
A If my understanding is correct weather I backup 10Gb of files or a 10Gb Database 10Gb is 10Gbs none the less?
What would be the best practice here to store user uploaded profile images with a fixed dimension of 200 x 200 pixels
For Profile images ( 200 x 200 ) which is best; Blob in the DB or File System storage with the path stored in the DB?
Q Why do I think I want to store the profile images in the DB?
A If my understanding is correct weather I backup 10Gb of files or a 10Gb Database 10Gb is 10Gbs none the less?
What would be the best practice here to store user uploaded profile images with a fixed dimension of 200 x 200 pixels