Fixed photo upload