I have a form to register a person. I want to be able for the person to upload her/his picture and then for it to be visible when looking at the record.
The 'image' widget is for a static image coming from the Db design
There is an attachment widget, but nothing to show an image as far as I can see.
The absolutely not "low-code" way could be an agent running on new/modified documents, which "converts" the graphics file. Or at least calculates the URL to open it. Then you could set the src attribute of an image element...
The way we do this is to have the form contain an attachment widget, a website field (hidden) and also an image. Then when we render the form we can dynamically set the image item to the URL of the attached file.
In the onItemChange of the attachment item (we set the URL to the image):