Database collection issue

Dear all,

i open a gallery where site visitors could upload there own photo’s.
the issue that i have that the date is getting overwritten by the new uploads.
any suggestions on how to solve it?

thank you in advance.

Hi,

what date are you referring to? can you please share more info?

Shlomi

well there is the thing i built a website for an even and want to add a page where people upload there own images so i data base called gallery added a dataset on the page and an upload button and submit button but i cant get it to load more then 5 pictures.

all the setting and permission are correct

dataset is on read and write
database collection is on everyone can submit and read
but it does not seems to work.

any device?

can you please share a link to that page?

Shlomi, here you go https://www.zaidandtine.com/gallery

and thank you in advance

Hi Zaid,

you have set the dataset with read/write permissions, meaning it can also update data records not only insert (which you really wanted), therefore you find it keep editing the same record every time, just replacing the image.
please also consider what you want to put (if any at all) at your other columns in your db collection - title and number, the problem will be more clear then.
also think about how you want to display/search the uploaded content and then you may want to separate the display page from upload new image form

if you fix the settings as here below, it will fix the issue:

good luck,
Shlomi

Shlomi,

thank you for the feedback.
in all honesty i don’t have an experience with web design,
what i want to do is the following, it is web invite for my upcoming wedding.
the idea i had is to give people the possibility to upload the pictures that they take during the wedding so we could view them and download them when we want and at the same time building kind a gallery so friends and family could view them too.
do you have any suggestion about how i could set up suck a site.

thanks again.
Zaid

Hi, indeed it requires using wix code at the moment proceeding with the direction you started,
please have a look at the following link - https://www.wix.com/code/home/repeaters
or if you want to avoid wix code altogether use an iframe to display a shared photo album from google/facebook etc but this is not the goal of this forum :wink: