Added server-side photo resolution validation, and redirection with defaults to form page on error.