Added checks for optional player image