uploading photos to the form