Fixed photo upload.