almost done with photo upload