Is it possible to input images from a Form into a Wix Database and display them in a Wix Photo Album?
Hey Eric,
This is doable. You use an upload button in a form connected to a dataset to get the image into a database collection. Then on the other end, connect the gallery to a dataset to get the images from the collection.
You might want to look at these articles to get you started:
Hi Sam,
Thank you for your email and links.
First part works a treat, uploading image to database utilizing a Form Input.
Second part does not work. The Wix Photo Album does not appear to have a “Connect to data” icon.
Or am I missing something?
Many thanks for your help, it is much appreciated.
Eric
Indeed, you cannot connect your database to a Wix Photo Album. However, you can connect it to a gallery or repeater. Will either of those work for you?
Hi Sam,
The important part of the Wix Photo Album is the feature which allows downloading the complete album.
I was looking to allow anyone to upload their single images and then allow others to download the complete album.
- The Gallery does not have the ability to download multiple images.
- I don’t have any knowledge regarding a repeater.
Thank you Eric
Unfortunately, there is currently no way to connect the Wix Photo Album to your collections.
Hi, Sam.
I have a database that collectting 4 images for each record, how can I connect the Gallery with those 4 images?