stopped in the middle of trying

to add a class for uploading image to database, not working yet