Yes, you can be able to store the images into the database, but it is not advised, and it is not a general practice.
General practice is to store the images in the directories on the file system and store references to the images in the database. e.g. the path to the image, the image name, etc. Or alternatively, you can also store the images on a content delivery network (CDN) or numerous hosts across some great expanse of physical territory, and store the references to access those resources in the database.
Images can get very large, greater than 1 MB. And so storing the images in a database can potentially put unnecessary load on your database and the network between your database and your webserver if they are on different hosts.
Interested in SQL ? Check out this SQL Certification by Intellipaat.
For more information visit :