See module Person for an example on Person_NewEdit.
To prepare, you need to add an image in your domain model. That will become the object the contains the image.
To any page add a dataview. Its datasource has to be either that image-entity or an entity that is associated with your image-entity.
In the dataview, add the widget ‘image’
In Person this is a screenshot from part of the page Person_NewEdit inside a dataview of a Person:
The create button trigger this microflow:
and this is the page to add the upload and add the image:
And this is the domainmodel: