I have an image stored in the database and I want to load this into the form, but then allow it to be changed by the user.
I can do this by setting the Image property of the Add Picture control as follows
If(IsBlank(varCurrentRecord.Photo), SampleImage, varCurrentRecord.Photo)
However, there are 2 issues with this: the text on the control stays as 'Add picture' as if there isn't one already selected. Also, if you click to change the picture and select a new picture, it doesn't update.
So I guess the question is, what's the best way to preload an image from the database, but also allow that image to be changed?
I can do it where clicking on the existing image opens a popup with a new 'Add picture' control, but it feels like I should be able to do it all from the Add picture control.

Report
All responses (
Answers (