Hi, is it possible to have a grid gallery on one page linking to one database. Then with buttons, be able to swap out all pics for the next set of pics?
i plan on putting each “album” of pics, in one column of the DB.
E.g. Column one, pics of me, columnn 2, pics of my brother, column 3 sister pics.
So, each album is in one column of a database, and on the live site i can scroll through each album with buttons.
Finnally, each album would have a unique url. So all albums in one db as colums, then each album has a url.
Hope it all makes sense, i appreciate any help or tips. thanks!
Hello,
If i understand correctly, you have many photos and would like to put them in a collection that allows you to separate them into albums.
Instead of putting each album in a different column, i advise you build your database in the following structure:
title | url | album
--------------------------------------------
photo1 | www.../photo1.jpg | my album
photo2 | www.../photo2.jpg | sister's album
photo3 | www.../photo3.jpg | sister's album
photo4 | www.../photo4.jpg | sister's album
photo5 | www.../photo5.jpg | my album
Each row in the collection represents just 1 photo.
In addition to fields that describe the photo (like title, url, etc…) you will add a field called “album” which will hold the album that this photo belongs to.
Checkout this article for some additional considerations when designing database collections - CMS: Planning Your Database Model | Help Center | Wix.com
This structure will later allow you to do all the things you originally mentioned like:
-
Display dynamic content in a gallery - CMS: About Displaying Collection Content in a Table or Gallery | Help Center | Wix.com
-
Building a dynamic page for a specific album - https://support.wix.com/en/article/how-to-add-a-dynamic-category-page
If an album has additional data (not just a name), you may consider making that field a reference field to a different “albums” collection - CMS: About Reference Fields in Database Collections | Help Center | Wix.com
Good luck!
Hi Dor,
Thank you very much for the solution. It took me a few minutes to setup the urls but your links helped with that. I also had to sync to live.
After that I was able to use 1 DB and 1 dynamic page to display different albums, each with a unique url.
Thanks again!