I am working on an application which will store some entities which have name, price, and an associated image into the database? The image will be a byte field?
I googled around, most examples involve upload image into server, and store the file path name into the db, is this the recommended way to do this? From my persptive, it seems make more sense to store the image byte array into db?
Will you be able to give me some hint or point some link online to achieve this?