koken-plugin-photoswipe icon indicating copy to clipboard operation
koken-plugin-photoswipe copied to clipboard

title, caption and keywords in image-subline

Open ghost opened this issue 7 years ago • 3 comments

Hello, is there a possibility to bring a caption like this https://www.lobolmo.de/fotos/albums/cashewkerne-cashew-nuts/inhalt-content/code-sv-te-09-360/ in the lightbox? Thanks Michael

ghost avatar Jul 29 '17 16:07 ghost

Looks like this would need a code enhancement. Caption is taken from the original DOM, looking for an element with class item-caption (https://github.com/DanielMuller/koken-plugin-photoswipe/blob/master/src/pswp.js#L16). Your theme (Axis 2 ?) is displaying captions differently. If you are willing to make a pull request, I am happy to merge it.

DanielMuller avatar Jul 31 '17 03:07 DanielMuller

Sorry for not responding. What means "to make a pull request"? I don't understand. What I have to do? I'm interested in get a subline like mentioned above. You are right, is Axis 2. Thanks!

ghost avatar Sep 09 '17 17:09 ghost

You need to fork the repo to your own account. Make the necessary changes. Push the changes to your forked repo. And then create a new pull request to ask t merge your changes to this repo. This page explains it in a little more details.

DanielMuller avatar Sep 09 '17 17:09 DanielMuller