Add the Photo Image upload function