Page 1 of 2

title of images in Photoswipe not working

Posted: 18 Dec 2021, 15:50
by mat-pg
Hello,

after upgrade to Joomla 4 and Phoca Gallery 4.5.0 I've noticed that after clicking on detailed view (I'm using Photoswipe) there is no title of image under the picture. Instead of it is this title on the top left corner of the screen with some strange format. Here is the picture of it: https://imgur.com/0buSLfx
Strange thing is that I have upgraded 2 webpages in the same time and on the other one is everything correct. I have not noticed any difference in settings between them till now.
Do you have any idea why is it so?

Thank you for every advice.

Re: title of images in Photoswipe not working

Posted: 24 Dec 2021, 15:23
by Jan
Hi, testing now, see no problem there:
https://www.phoca.cz/phocacart4demo/pho ... id=1&pid=7

Do you get the same behaviour when you switch to another template (for test only)?

Jan

Re: title of images in Photoswipe not working

Posted: 04 Jan 2022, 11:40
by mat-pg
Hi,

I've tried to change the Joomla template to default one - "Cassiopeia" but the behaviour is still the same. I've tried also other web browser but nothing has changed. I've also tried to change Phoca Gallery template to "Standard", "Simple" and "Default" but nothing has changed. There is still no title under the image. Instead of it is still this title on the top left corner of the screen.
Maybe there is some issue with "Photoswipe" add-on? But I don't know how to fix it.

Very strange is that on my other web page with very same settings (as I know) is everything OK.

Mat

Re: title of images in Photoswipe not working

Posted: 04 Jan 2022, 12:32
by christine
Hi Mat,

just to be sure. Check following:

- css/default-skin/default-skin.css loaded?
- browser adjustments
- re-create thumbnails
- Options: Detail View > Display Caption ...
- JS errors?

Kind regards
Christine

Re: title of images in Photoswipe not working

Posted: 04 Jan 2022, 12:49
by mat-pg
Hello Christine,

thank you for your help - that was the point! When I manually added in browsers Developer Tools this default-skin.css everything was working correctly. Could you please explain to me how to make this file loaded automatically?

Thank you,

Mat

Re: title of images in Photoswipe not working

Posted: 04 Jan 2022, 13:29
by christine
Hi Mat,

now we can narrow down the reason. I temporarily (test-site) removed this default-skin.css. Confirm your result with the lines in the top left.
At the moment, I don't know. Check again Detail View: Photoswipe and under Themes: Current Theme : Standard - Phoca Gallery 4.5

Kind regards
Christine

Re: title of images in Photoswipe not working

Posted: 04 Jan 2022, 13:34
by mat-pg
Hi Christine,

I can confirm this: Detail View: Photoswipe and Current Theme : Standard - Phoca Gallery 4.5

Kind Regards,
Mat

Re: title of images in Photoswipe not working

Posted: 04 Jan 2022, 14:05
by Jan
Hi, does it mean that even the file is enabled in styles:

Image

it is not loaded on your site?

This looks like some cache issue or similar. :idea:

Jan

Re: title of images in Photoswipe not working

Posted: 04 Jan 2022, 14:16
by mat-pg
Hi Jan,

as mentioned above I'm using theme "Standard" so on my side it looks like this:
https://imgur.com/a/QKwuukW

I've tried it also on other computers and smartphones.

Mat

Re: title of images in Photoswipe not working

Posted: 04 Jan 2022, 14:21
by Jan
Can you paste a screenshot of what exactly is wrong, I am testing now the same configuration and don't get any problems there (can the screenshot be the whole page, so I can see where the problem occurs). Or better, if you have a link to live site?

Jan