add photo into database works! Took forever.