Page 1 of 1

Several galleries in one page

Posted: 20 Jun 2024, 15:10
by SteveI
Hello, I have the following problem: On a page I call up an image gallery twice via the content plugin. The first gallery shows me the thumbnails, but no large images when I click on them. The second gallery works perfectly. Does anyone have a solution for me? Greetings Steve

Re: Several galleries in one page

Posted: 20 Jun 2024, 15:15
by SteveI
One more piece of information: I use Joomla 5 with the current version of Phoca Gallery

Re: Several galleries in one page

Posted: 20 Jun 2024, 15:25
by SteveI
There is a page break between the two galleries, which seems to be problematic. Without a page break it works perfectly. But that's not what I actually wanted.

Re: Several galleries in one page

Posted: 20 Jun 2024, 15:59
by Jan
Hi,
I have no experiences with page break, but maybe it can somehow break the information which is send to Javascript, which is needed for displaying the details :idea: Which popup method do you use? If you are using version 5, there should be only one - Photoswipe. Then maybe Photoswipe library has some problem to initialize the script when the gallery is "behind" pagebreak. :idea:

Jan

Re: Several galleries in one page

Posted: 20 Jun 2024, 16:14
by SteveI
Hi Jan,
Thank you very much for your feedback. Yes, I use Photoswipe. I have a page with multiple page breaks. Both galleries work fine when I insert them both after the same page break. As soon as I separate two galleries by a page break, the first gallery does not work, the second one does.
Steve