Several galleries in one page

Phoca Gallery - image gallery extension
SteveI
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 20 Jun 2024, 15:08

Several galleries in one page

Post 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
SteveI
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 20 Jun 2024, 15:08

Re: Several galleries in one page

Post by SteveI »

One more piece of information: I use Joomla 5 with the current version of Phoca Gallery
SteveI
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 20 Jun 2024, 15:08

Re: Several galleries in one page

Post 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.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Several galleries in one page

Post 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
If you find Phoca extensions useful, please support the project
SteveI
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 20 Jun 2024, 15:08

Re: Several galleries in one page

Post 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
Post Reply