Make photo upload work; better field validation