Page 1 of 1

Caption by photoswipe detail view

Posted: 13 Apr 2018, 14:34
by nefachris
Hi,

I have the phoca gallery plugin with detail view photoswipe, this ist working, but there is no caption in the popup window of the detail view.
Is it possible to integrate the caption in the phoca gallery plugin, please?

In the phoca gallery component category view it is possible to have the caption below the picture.

Thanks a lot
chris

Re: Caption by photoswipe detail view

Posted: 16 Apr 2018, 11:22
by Jan
Hi, added to feature request list.

Jan

Re: Caption by photoswipe detail view

Posted: 04 Jun 2018, 20:12
by nefachris
Hi Jan,
do you know when the feature request will be included in an update?

Thanks for helping me!
Chris

Re: Caption by photoswipe detail view

Posted: 06 Jun 2018, 21:17
by Jan
Hi, really hard to say, there is a lot of features which must be done first ( new Google Maps API, new Facebook API, GDPR, etc. etc) :-( Really hard to say :-(

Jan

Re: Caption by photoswipe detail view

Posted: 14 Jun 2018, 21:20
by nefachris
Hi Jan,

I have found a solution for me, maybe you can work with that:

Changed line 1685 in phocagallery.php
$output .= '</figure>';

To:
$output .= '<figcaption itemprop="caption description">'. $image->title.'</figcaption></figure>';

Chris

Re: Caption by photoswipe detail view

Posted: 18 Jun 2018, 09:28
by Jan
Ok, thank you for the info, I will implement it in next version.

Jan

Re: Caption by photoswipe detail view

Posted: 28 Jan 2019, 16:08
by Jan
Hi, should be OK in version 4.3.11
https://www.phoca.cz/news/1003-phoca-ga ... 1-released

Jan

Re: Caption by photoswipe detail view

Posted: 28 Feb 2019, 22:31
by nefachris
Hi Jan,
now with the latest version 4.3.15 it is working!

Thanks a lot, chris.

Re: Caption by photoswipe detail view

Posted: 02 Mar 2019, 15:41
by Jan
Ok, great to hear it.

Jan