Commit before tinkering with photo upload