How to upload and view photo

Hello,

Please assist me in how to show an uploaded image, immediately after submitting to the database/collection.


I have linked the upload and submit button to the imageUpload collection.

I have linked the image to the same collection.

After hitting save, the image uploads successfully to the database…HOWEVER…
It does not display the uploaded image for more than 1 second before disappearing.

please help. found on Dashboard CODE page:

https://editor.wix.com/html/editor/web/renderer/edit/a225e187-3592-4c45-82b3-525dd4b530b0?metaSiteId=15ad45ff-e0cd-4363-86e6-8ea16cc5a7d2&editorSessionId=1dbc2e77-c7b7-4de0-bfed-45b9068419ed&referralInfo=dashboard

helpful info:

ADD FILE = #uploadButton1
SAVE FILE = #button1
IMAGE VIEW = #image2

#dataset2 is linked to imageSubmit collection

all elements are linked to imageSubmit (image) collection

reminder: I would like to DISPLAY uploaded file after submission.

thanks a ton for any assistance

Figured it out here

https://support.wix.com/en/article/corvid-tutorial-using-the-upload-button-with-code