Page 1 of 3
Phoca Gallery background image problem
Posted: 28 Aug 2023, 13:42
by Kordian
Hello,
Here is my config of the test.aquila-it.pl page:
Joomla 4.3.4
Phoca Gallery 4.5.4
Phoca Nature Template 4
Gantry 5
I have set up the page to have separate background image on every menu item. There are two of interest: "Nature" menu item and "Landscape" menu item. They are both configured to display different Phoca Gallery List of Categories, with category ID entered in the options.
When I click on "Nature" menu, the background image displays correctly with list of Phoca categories.
When I click on "Landscape" menu, the correct background image displays with correct list of categories.
But when I click on any Phoca category within the "Nature" menu, the background image switches to the Landscape background image, instead of retaining the Nature background image. Also in the address I can see the "landscape" being added, although I am in the nature.
Thank you in advance for any help.
Re: Phoca Gallery background image problem
Posted: 28 Aug 2023, 16:03
by Jan
Hi, which background do you exactly mean? Phoca Gallery does not use any background feature.

Can you paste some screenshots?
Jan
Re: Phoca Gallery background image problem
Posted: 28 Aug 2023, 16:12
by christine
Hi,
your URL/site shows: Error: network timeout
Kind regards
Christine
Re: Phoca Gallery background image problem
Posted: 28 Aug 2023, 20:34
by Kordian
Jan wrote: ↑28 Aug 2023, 16:03
Hi, which background do you exactly mean? Phoca Gallery does not use any background feature.

Can you paste some screenshots?
Jan
I would love to, but how can I paste pictures here?
The Nature should use the eagle face background (dark brown one).
https://test.aquila-it.pl/index.php/en/nature
The Landscape shuld use the golden/orange grass image.
https://test.aquila-it.pl/index.php/en/landscape
After clicking the Fungi category on Nature, you get this:
https://test.aquila-it.pl/index.php/en/ ... /183-fungi
As you can see there is "landscape" in the address, although it is no landscape, but nature category.
I know Phoca Gallery does not use any background, anyway clicking a nature category switches to landscape for any reason.
If I delete the "Landscapes" category from PG, the backgrounds will be displayed correctly. I know how strange this sounds, but it is how it is and I have no idea why.
"Landscapes" is a first level category in PG. All categories you see on the Nature site are also first level categories. You can see it on the Nature page.
@christine
The page
https://test.aquila-it.pl is working fine by me.
Re: Phoca Gallery background image problem
Posted: 29 Aug 2023, 12:21
by christine
Hi Kordian,
when entering: test.aquila-it.pl only, then I get above response.
With https://.... it's OK
Just an idea, not sure, maybe relevant. What I see is: 2 body (suffix?) entries:
a) landscape:
body.krajobrazy {codes}
../../images/krajobrazy.jpg
b) nature:
body.przyroda {codes}
../../images/przyroda.jpg
Kind regards
Christine
Re: Phoca Gallery background image problem
Posted: 29 Aug 2023, 12:34
by Kordian
And it is fully ok, as I already written, that the goal is different background images for different menu items.
Re: Phoca Gallery background image problem
Posted: 01 Sep 2023, 10:14
by Kordian
Any ideas?
Thank you in advance!
Re: Phoca Gallery background image problem
Posted: 01 Sep 2023, 12:07
by christine
Hi,
Under the menue: landscape there are no images.
I made a test on a testsite, as follows:
Multiple add > Create Folder > nature
Multiple add > Create Folder > landscape
Menu: Nature
Menu: Landscape
Menu Nature > category > nature
Menu Landscape > category > landscape
Menu type:
List of images > category > nature
List of images > category > landscape
For background (Page Class Suffix), I just took only color.
Results:
Kind regards
Christine
Re: Phoca Gallery background image problem
Posted: 01 Sep 2023, 12:11
by Kordian
And how does this solve my problem?
Re: Phoca Gallery background image problem
Posted: 01 Sep 2023, 12:42
by christine
As I already wrote: there are no pictures in your landscape menu.
That's why I tried to "recreate" it and wrote down my ways how I managed it. I.e. check the connection to menus & categories.
Kind regards
Christine