Page 1 of 1

Photoswipe display description vs file name

Posted: 15 Nov 2017, 17:17
by assospiz
Hello,
it's possibile configure photoswipe display with the description instead file name?
Thanks
Regards
Assospiz

Re: Photoswipe display description vs file name

Posted: 18 Nov 2017, 13:29
by Jan
Hi,

see components\com_phocagallery\views\category\tmpl\default_images.php line cca 152

change
FROM:

Code: Select all

echo '<figcaption itemprop="caption description">'. $cv->title.'</figcaption>';
TO:

Code: Select all

echo '<figcaption itemprop="caption description">'. $cv->description.'</figcaption>';
Jan

Re: Photoswipe display description vs file name

Posted: 01 Dec 2017, 17:22
by assospiz
Hallo,
would it be possible to add in the control panel the options for choosing title, description, title and description as for Lightbox JAK?
Thank you so much for all the work done for us.
Assospiz

Re: Photoswipe display description vs file name

Posted: 03 Dec 2017, 19:57
by Jan
Hi, added to feature request list.

Jan

Re: Photoswipe display description vs file name

Posted: 19 Dec 2017, 23:39
by Jan