Hi, thanks for your help.
My knowledge of javascript is very limited I found this page in the FacetWP help where they point out something about the trigger when the page is refreshed but I don’t know what to do with it.
FWP.refresh(); // Parse the facets and trigger an ajax refresh
https://facetwp.com/documentation/developers/javascript/js-objects/
As I was saying in my other question in the forum, if you think there is a simple solution you can offer me, it would be great, but if not, I can leave the website working without the gallery option.
Thanks!