Picture Uploader/Preview

Hey everyone, I would like my users to be able to upload picture to a small gallery of ten images. As they upload the image, I would Ideally like for them to see a small "preview of the image as they add more. I’m using Supabase as a backend. What is the best way to handle this? Right now I have a column with a text array that’s meant to hold the URLs. Should I have a separate table with individual records? Any advice would be helpful. Thanks!

Hi @doubleplus,
You can do this by storing it inside a variable and showing it to your user before even saving it in your backend, after he confirms it, then yes you would save it

2 Likes