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
Caption by photoswipe detail view
-
- Phoca Newbie
- Posts: 6
- Joined: 21 Mar 2014, 17:30
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Caption by photoswipe detail view
Hi, added to feature request list.
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 6
- Joined: 21 Mar 2014, 17:30
Re: Caption by photoswipe detail view
Hi Jan,
do you know when the feature request will be included in an update?
Thanks for helping me!
Chris
do you know when the feature request will be included in an update?
Thanks for helping me!
Chris
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Caption by photoswipe detail view
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
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 6
- Joined: 21 Mar 2014, 17:30
Re: Caption by photoswipe detail view
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
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
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Caption by photoswipe detail view
Ok, thank you for the info, I will implement it in next version.
Jan
Jan
If you find Phoca extensions useful, please support the project
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Caption by photoswipe detail view
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 6
- Joined: 21 Mar 2014, 17:30
Re: Caption by photoswipe detail view
Hi Jan,
now with the latest version 4.3.15 it is working!
Thanks a lot, chris.
now with the latest version 4.3.15 it is working!
Thanks a lot, chris.
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Caption by photoswipe detail view
Ok, great to hear it.
Jan
Jan
If you find Phoca extensions useful, please support the project