link a gallery to a category page - need help

I created a category page, according to Wix video tutorial, for a manpower company site.

To get to the different categories, I set up a pro gallery (homepage / משרות חמות https://ranv41.wixsite.com/website ), each image would lead to a different category page.

In preview mode, it works. Clicking on a picture leads to a category and there is a list of jobs that each lead to a dynamic page.

It doesn’t work in Live mode. Clicking on the image, the link does not work (at first I compiled one image and it also worked in Live)

I contacted the support and received a million answers.
One of Their answer was that the database connection was incomplete. A title, picture, description, and link must be attached.

What I did was, I got the picture attached to the link to the category page and connected the pic to each category. The system makes it possible to make the link in the gallery to the database and to each category, so why doesn’t it work? Is my data table incorrect? Where’s my mistake?

Do I need to make a new database with the categories to be connected to the gallery AND ADD THE LINK ?

Thank you
DINA

Edit | Back | Copy | X New text

https://support.wix.com/en/article/adding-a-link-to-a-wix-pro-gallery-item
https://support.wix.com/en/article/glossary-wix-pro-gallery-settings#settings-tab

Thanks a lot, I know how to conect a link to a photo in the Pro Gallery. That was not the question. I asked about linking a image to a category page. The link does not work when the site is live.