You cannot directly upload a photo to the "Photo" field of the Subject form.  This also called the Case Photo.

It lists all photos available into Files >> Photos tab and a user can choose one of them.

(1) First, upload a photo into Files >> Photos page.

(2) Choose one photo from the list inside the Subject form.