get photo delete working