Wix Gallery Pro and wider Dataset

Hi, I have a question about using Wix Gallery Pro when images and related information are taken from a dataset in the database.
In particular, every time the visitor switchs from one image to an another, I’d like to show some other information from the same database (not just the standard ones provided by the Wix Gallery Pro settings) using some text fields.
What I’ve done: in the page I created two datasets, the first one related to the table from which to read the image and the standard information, the second always related to the same table but putting a filter in such a way that shows the record that has the same ID of the record displayed in the gallery.
Apparently it works but in reality not because it reads always and only the first record of the first dataset, without feeling the change of the image made both through the autoplay or by the visitor in the gallery.
How can I do? Can you help me?

Hi Cirmi,

First of all , add a “Wix Gallery Pro” from the Gallery’s related apps and one read-only dataset.
There is no need at two datasets, because all of the items at the gallery are located at the same collection.

Second , connect the gallery to the dataset and go to connection options.
Connect the other desirable fields (such as the image’s information) from the collection to the gallery’s elements.

That’s how it’s look like:


As a result, each time the visitor will hover the image he will see the relevant information for the current image from the database.

Have a nice day and best of luck!
Sapir

Hi, first of all thanks for you answer.
What you correctly suggest is what I’ve tryied at the very beginning.
My problem is that I’d like to show in the page more details than the one’s listed in the Connection Options menu.

Let me better explain my needs.
The database includes a lot of fields (look at the attach) like for example the field “Durata”.
In addition to the standard fields listed in the Connection Options menu (the image, the title = “5008 2a serie” and the description = “5008 BLUEHDI 130 EAT8 S&S ALLURE”) I’d like to set the value of a additional field such as $w(‘#text67’).text = Durata; to show the content of the field “Durata” in the same page where you can find the Gallery.

Finally I need that the value of $w(‘#text67’) change every time the visitor go to the next/previous image in the gallery, according to the “IdProdotto” of the specific row in the database

!643x360
!260x124
!283x125
!399x125

Hi Crimi,

I suggest you to create a dynamic item page to display an item from a collection.
In a dynamic item page you can add all of the fields from your collection without limitations, and present each item and it’s relevant information at single page.
Here you can read about dynamic page.
This is a video that demonstrate how to create dynamic page.

I hope this way will help you achieve your purpose.

Have a nice day and best of luck!
Sapir