upload photos - improved, there are no useless fields sent to server. Validation. fix #36