now sending image to database as well