I would suggest that you don't store binary image files directly in the database. Doing so can lead to poor performance. Typically, you would store the files in the server file system, and store only meta-data which includes the file location in the database.
↧