I have two questions about customizing the caption for the (excellent) Photoswipe plugin:
(1) What file do I edit to change the caption? I've read the instructions on the plugin github page (https://github.com/DanielMuller/koken-plugin-photoswipe). However, I'm too new to Koken to know which file I should edit to make the changes discussed.
(2) Is it possible to mimic the caption from Koken's built-in Lightbox (Photo title followed by the caption)?
Thanks,
Andrew
Welcome to the Koken CMS community!
Here at KCS, you will find a friendly bunch of photographers who like to share their love for the Koken CMS. We hope that you will enjoy your time here and thrive in our community!
You asked for it: Donations!
You asked for it, and it's here: The possibility to "buy me a beer (or more)"!
Seriously: By giving a small paypal donation you will help with keeping this site afloat and also give me more incentive to develop OxyGen further...
// Bjarne Varöystrand and the KCS Team
Koken Development
Here at KCS, you will find a friendly bunch of photographers who like to share their love for the Koken CMS. We hope that you will enjoy your time here and thrive in our community!
You asked for it: Donations!
You asked for it, and it's here: The possibility to "buy me a beer (or more)"!
Seriously: By giving a small paypal donation you will help with keeping this site afloat and also give me more incentive to develop OxyGen further...

// Bjarne Varöystrand and the KCS Team
Koken Development
Custom Caption for Photoswipe
Forum rules
As of late, we have been seeing cases where some of you have been posting multiple types of questions within a singular type of topic...
This makes searching here a nightmare for people whom are attempting to find out whether or not their question has already been asked, or possibly even answered. Therefore, I would like to implement some very basic rules, which I think everybody will be happy with, given that they will lead to better search results.
I believe that these simple rules will not only make our lives easier, but also the lives of our visitors
I am of the opinion that ignoring these requests will make it harder for us all.
Plus, we won't be able to actually mark an issue/topic as solved, since it would be more difficult to determine what we're actually trying to solve! For example: Are we addressing the first, second or third question?
As of late, we have been seeing cases where some of you have been posting multiple types of questions within a singular type of topic...
This makes searching here a nightmare for people whom are attempting to find out whether or not their question has already been asked, or possibly even answered. Therefore, I would like to implement some very basic rules, which I think everybody will be happy with, given that they will lead to better search results.
- All public communication is done in English
- ONE question per topic
- Make the title descriptive
- If it's regarding a theme: make sure you mention the theme name.
- Leave a URL to your site, since sometimes, custom "hacks" and CSS will be uniqe to your site.
I believe that these simple rules will not only make our lives easier, but also the lives of our visitors

I am of the opinion that ignoring these requests will make it harder for us all.
Plus, we won't be able to actually mark an issue/topic as solved, since it would be more difficult to determine what we're actually trying to solve! For example: Are we addressing the first, second or third question?
-
- Newbie
- Posts: 2
- Joined: Tue 08 Mar 2016, 05:47
- Your name: Andrew Kelley
- Bjarne Varöystrand
- Webbplatsadministratör
- Posts: 1063
- Joined: Sun 29 Mar 2015, 21:02
- Your name: Bjarne Varöystrand
- Location: Lysekil, Sweden
- Contact:
Re: Custom Caption for Photoswipe Topic is solved
Hi there Andrew.
- To use the captions in PhotoSwipe, you will need to edit any lens file that contains
<koken:link lightbox="true">
- Not knowing what theme your using I would say to start with it's album.lens, content.lens, favorites.lens and timeline.lens
- That part you will have to ask Daniel about: but I dont belive you can...
-
- Newbie
- Posts: 2
- Joined: Tue 08 Mar 2016, 05:47
- Your name: Andrew Kelley
Re: Custom Caption for Photoswipe
Bjarne Varöystrand wrote:Hi there Andrew.
- To use the captions in PhotoSwipe, you will need to edit any lens file that contains
<koken:link lightbox="true">
- Not knowing what theme your using I would say to start with it's album.lens, content.lens, favorites.lens and timeline.lens
- That part you will have to ask Daniel about: but I dont belive you can...
Thanks, Bjarne! I'll e-mail Daniel about the caption and post a solution here, if I find one.
Andrew
-
- Similar Topics
- Replies
- Views
- Last post
-
- 2
- 314
-
by supermike95
View the latest post
Fri 22 Jun 2018, 00:02
Who is online
Users browsing this forum: No registered users and 1 guest