submit photo controller