Caption by photoswipe detail view

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

Caption by photoswipe detail view

Post by nefachris » 13 Apr 2018, 14:34

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: 40534
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Caption by photoswipe detail view

Post by Jan » 16 Apr 2018, 11:22

Hi, added to feature request list.

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

nefachris
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 21 Mar 2014, 17:30

Re: Caption by photoswipe detail view

Post by nefachris » 04 Jun 2018, 20:12

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: 40534
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Caption by photoswipe detail view

Post by Jan » 06 Jun 2018, 21:17

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: 5
Joined: 21 Mar 2014, 17:30

Re: Caption by photoswipe detail view

Post by nefachris » 14 Jun 2018, 21:20

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: 40534
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Caption by photoswipe detail view

Post by Jan » 18 Jun 2018, 09:28

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

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

Post Reply