completed image file insertion (hopfully)

I have sent boss's codes into comment section (mainly checkings of data
availablity and others) and attempted to insert data into database.
Database is showing a blob icon. So, I think it is done. ;)