Personally, I wouldn't put images in a database because it could quickly oversize.
I would just put the filenames in a database and, if possible, make each filename a Date-Time stamp to distinguish one file from the other. Then, at runtime, point the logic to the directory where these files are currently stored.