Hide/Collapse Gallery when dataset is blank

I created a customer review section using repeaters and datasets. Everything is working fine but I want the gallery to hide/collapse if no images were submitted.

I’ve given this a try but it either removes the gallery all together regardless of if there is data in the dataset, or the gallery won’t disappear when there is no input.

I’ve looked into other forums with similar issues but those didn’t work for me either.

Looking for some help and advice to get this done.

Thank you

Post a screenshot of your code / link to your page, so we can see what you have so far.

Hi
Here is the screenshot of the code

The link to the page is: https://www.lasvegas2grandcanyon.com/test

Right now all the images are hidden.

Thank you