Hello,
on my joomla 4 page (still under construction and not online) I wanted to use phoca Gallery to show pictures inside an article.
But instead of the pictures, just grey boxes are displayed.
I inserted this code in the article
{phocaphoto view=category|id=01}
as the the images belong to category id1.
The plugin "plg_content_phocaphoto_v4.0.0" is published.
I can show the images via menu, so the the images and categories are correct.
Thanks in advance
Nicolas
Pictures not shown in article
- Jan
- Phoca Hero

- Posts: 49138
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Pictures not shown in article
Hi, is Phoca Photo component installed on your system?
Jan
Jan
If you find Phoca extensions useful, please support the project
-
surfer
- Phoca Newbie

- Posts: 7
- Joined: 22 Apr 2022, 10:33
Re: Pictures not shown in article
Hello Jan,
Phoca Photo and Phoca Phoca Gallery Component and the Phoca Photo Plugin are installed.
Thanks in advance.
p.s. If you need, I could send you the admin details via p.m.
Nicolas
Phoca Photo and Phoca Phoca Gallery Component and the Phoca Photo Plugin are installed.
Thanks in advance.
p.s. If you need, I could send you the admin details via p.m.
Nicolas
- Jan
- Phoca Hero

- Posts: 49138
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Pictures not shown in article
Is this the code you are using:
{phocaphoto view=category|id=01}
as there should be:
{phocaphoto view=category|id=1}
Jan
{phocaphoto view=category|id=01}
as there should be:
{phocaphoto view=category|id=1}
Jan
If you find Phoca extensions useful, please support the project
-
surfer
- Phoca Newbie

- Posts: 7
- Joined: 22 Apr 2022, 10:33
Re: Pictures not shown in article
Hello,
I just tested your code (used the same before, too) but the result is the same, only grey boxes where the images should be.
Thanks for your time!
Regards
Nicolas
I just tested your code (used the same before, too) but the result is the same, only grey boxes where the images should be.
Thanks for your time!
Regards
Nicolas
- Jan
- Phoca Hero

- Posts: 49138
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Pictures not shown in article
Can I see the site where it occurs?
If you find Phoca extensions useful, please support the project
-
surfer
- Phoca Newbie

- Posts: 7
- Joined: 22 Apr 2022, 10:33
Re: Pictures not shown in article
it's
http://nicolasfetting.com/index.php/die ... aficionado
Where the text is, on the right column, the pictures should show but there are just grey boxes.
if you need, I send you the admin details.
Thanks in advance
Nicolas
http://nicolasfetting.com/index.php/die ... aficionado
Where the text is, on the right column, the pictures should show but there are just grey boxes.
if you need, I send you the admin details.
Thanks in advance
Nicolas
-
christine
- Phoca Hero

- Posts: 2938
- Joined: 28 Nov 2010, 17:20
Re: Pictures not shown in article
Hi Nicolas,
Thank you for the Link.
@Jan: FYI:
I see:
Commenting out display: flex; then you can see the images.
Maybe possible with display: grid, (or other syntax) but the thumbs are then vertical.
Also to check: .ph-photo-plugin-box
Kind regards
Christine
Thank you for the Link.
@Jan: FYI:
I see:
Code: Select all
.ph-photo-plugin-container {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin: 0 auto;
}Maybe possible with display: grid, (or other syntax) but the thumbs are then vertical.
Also to check: .ph-photo-plugin-box
Kind regards
Christine
-
surfer
- Phoca Newbie

- Posts: 7
- Joined: 22 Apr 2022, 10:33
Re: Pictures not shown in article
Thank you Christine!!!!!!
I'm using grid now and that looks fine! Table is also working.
Thank you and regards
Nicolas
I'm using grid now and that looks fine! Table is also working.
Thank you and regards
Nicolas
-
christine
- Phoca Hero

- Posts: 2938
- Joined: 28 Nov 2010, 17:20
Re: Pictures not shown in article
Hallo Nicolas,
sehe, dass wir ja deutsch schreiben können.
Ja, jetzt sind die Bilder da. Schrieb aber auch, dass diese dann vertikal sein werden.
Ist halt so, dass es div.project-description (column) und .project-info > .project-details (daneben) gibt, welches ein float: left; hat und dann eben photoswip container.
Du könntest auch probieren: statt display: grid;
display: inline-flex;
width: 120%; /*thumbs größer*/
Dann sind diese natürlich unterhalb. Wie Du möchtest.
Liebe Grüße
Christine
sehe, dass wir ja deutsch schreiben können.
Ja, jetzt sind die Bilder da. Schrieb aber auch, dass diese dann vertikal sein werden.
Ist halt so, dass es div.project-description (column) und .project-info > .project-details (daneben) gibt, welches ein float: left; hat und dann eben photoswip container.
Du könntest auch probieren: statt display: grid;
display: inline-flex;
width: 120%; /*thumbs größer*/
Dann sind diese natürlich unterhalb. Wie Du möchtest.
Liebe Grüße
Christine