Hello,
I am using PG 5.1.3 and J5.4.6.
With your help I have been adding single galleries to my article and that has worked well.
Today I have added two galleries to an article using this format:
< page break >
{phocagallery view=category|categoryid=18}
< page break >
{phocagallery view=category|categoryid=19}
This does not work fully. The second gallery displays and images can be opened as expected. However the first galley, while the thumbnails are displayed, nothing happens when the user clicks on any image from gallery 1.
This can be demonstrated on this page: https://www.angloboerwar.com/unit-infor ... ants-horse
Interestingly, the image icon before the name is suppressed on gallery 2 (intended behaviour) but not for gallery 1.
I have read through the forum posts from this year but cannot find one that is similar to my issue.
Could you suggest how to remedy this please?
With thanks
David
How to add two galleries to an article
-
DavidB2026
- Phoca Newbie

- Posts: 9
- Joined: 20 Jun 2026, 08:32
- christine
- Phoca Hero

- Posts: 3012
- Joined: 28 Nov 2010, 17:20
Re: How to add two galleries to an article
Hi David,
Try removing this: < page break >
to your user.css
Kind regards
Christine
Try removing this: < page break >
See previous thread, info about:DavidB2026 wrote: 18 Jul 2026, 11:45
Interestingly, the image icon before the name is suppressed on gallery 2 (intended behaviour) but not for gallery 1.
Code: Select all
.ph-si-image {
display: none;
}Kind regards
Christine
-
DavidB2026
- Phoca Newbie

- Posts: 9
- Joined: 20 Jun 2026, 08:32
Re: How to add two galleries to an article
Many thanks for your reply and on a Saturday too, Christine.
I removed the page breaks from the article as you suggested and that did remedy the issue with the first gallery not displaying properly when an image was clicked.
The text preceding the galleries is quite long so the paging provides a good way to break up the article and shows the different sections to users. Is there a way to combine the paging and the display of more than one gallery please?
Re the image icon in the name, I did add the code to the user.css file again this morning, It had disappeared after the Joomla files were re-installed. It is the only code in the user.css file. Custom.css is empty.
After the change to the user.css, the server cache was deleted and the local browser cache of files was also deleted.
What is odd is that the image icon mostly appears but not always. The only time is does not appear is in the articles with more than one gallery and where page breaks are used eg https://www.angloboerwar.com/unit-infor ... se?start=2
Thank you again for your help
David
I removed the page breaks from the article as you suggested and that did remedy the issue with the first gallery not displaying properly when an image was clicked.
The text preceding the galleries is quite long so the paging provides a good way to break up the article and shows the different sections to users. Is there a way to combine the paging and the display of more than one gallery please?
Re the image icon in the name, I did add the code to the user.css file again this morning, It had disappeared after the Joomla files were re-installed. It is the only code in the user.css file. Custom.css is empty.
After the change to the user.css, the server cache was deleted and the local browser cache of files was also deleted.
What is odd is that the image icon mostly appears but not always. The only time is does not appear is in the articles with more than one gallery and where page breaks are used eg https://www.angloboerwar.com/unit-infor ... se?start=2
Thank you again for your help
David
- christine
- Phoca Hero

- Posts: 3012
- Joined: 28 Nov 2010, 17:20
Re: How to add two galleries to an article
Hi David,
And then add the code back to user.css

Kind regards
Christine
I don't know at the moment. In generell I'm using categories.DavidB2026 wrote: 18 Jul 2026, 15:36
The text preceding the galleries is quite long so the paging provides a good way to break up the article and shows the different sections to users. Is there a way to combine the paging and the display of more than one gallery please?
I would disable custom.css in the styles settings! You can do this in the backend.Re the image icon in the name, I did add the code to the user.css file again this morning, It had disappeared after the Joomla files were re-installed. It is the only code in the user.css file. Custom.css is empty.
And then add the code back to user.css
When you hover over it, you see: `<svg class="ph-si ph-si-image">`. If you were to try setting a background to 'background: green', you wouldn't see the icon, but rather the square.What is odd is that the image icon mostly appears but not always. The only time is does not appear is in the articles with more than one gallery and where page breaks are used
Kind regards
Christine