Caption by photoswipe detail view

Phoca Gallery plugins - plugins for Phoca Gallery extension
nefachris
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 21 Mar 2014, 17:30

Caption by photoswipe detail view

Post 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

Tags:
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Caption by photoswipe detail view

Post by Jan »

Hi, added to feature request list.

Jan
If you find Phoca extensions useful, please support the project
nefachris
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 21 Mar 2014, 17:30

Re: Caption by photoswipe detail view

Post by nefachris »

Hi Jan,
do you know when the feature request will be included in an update?

Thanks for helping me!
Chris
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Caption by photoswipe detail view

Post 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
If you find Phoca extensions useful, please support the project
nefachris
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 21 Mar 2014, 17:30

Re: Caption by photoswipe detail view

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Caption by photoswipe detail view

Post by Jan »

Ok, thank you for the info, I will implement it in next version.

Jan
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Caption by photoswipe detail view

Post by Jan »

Hi, should be OK in version 4.3.11
https://www.phoca.cz/news/1003-phoca-ga ... 1-released

Jan
If you find Phoca extensions useful, please support the project
nefachris
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 21 Mar 2014, 17:30

Re: Caption by photoswipe detail view

Post by nefachris »

Hi Jan,
now with the latest version 4.3.15 it is working!

Thanks a lot, chris.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Caption by photoswipe detail view

Post by Jan »

Ok, great to hear it.

Jan
If you find Phoca extensions useful, please support the project
Post Reply