Hello! I’m having trouble linking an image taken from my mobile camera or uploaded from the library to a custom state, which then feeds into the database. The image is being saved in the file manager of the database, so that part works, but it doesn’t link to the database entry.
I have created a custom field called ‘camera image’ which you can see below:
Then when the user hits the ‘Create Round’ button which submits the form and therefore all the details to the database, everything connects, but the image. See screenshot below:
Very strange! I did some testing to see what data the custom state is holding… refreshed, and the image in now attaching to the database entry. Not sure what happened, but now working. Thanks for the reply!
I have since realised it might have been an error on my part. I didn’t have a ‘preview’ for the image I was taking/uploading so I presumed it was instant. I then inserted a dynamic image preview for the custom state and realised it took ~10secs to upload meaning I was submitting the form before the picture had chance to load. Hope this helps!