Exact Duplicate: User Images: Database or filesystem storage?
Exact Duplicate: Storing images in database: Yea or nay?
Exact Duplicate: Should I store my images in the database or folders?
Exact Duplicate: Would you store binary data in database or folders?
Exact Duplicate: Store pictures as files or or the database for a web app?
Exact Duplicate: Storing a small number of images: blob or fs?
I have to store user’s profile image (100px * 100px) what is the best way to store it ? database or system file ? which one is better , faster ,safer … ?
Always store images, music files etc in system files on disk, and then store the url:s to them in the database. That will make it
1) faster
2) easier to configure security settings
3) better in any ways I can imagine