Thank you Max!
Your suggested code fixed the problem with this plugin. Captions now appear in PhotoSwipe.
I have “captionEl” set to “true” in Boxers and Swipers settings for PhotoSwipe.
What else needs to be done?
As I said, my captions show up just fine in Colorbox and Image Lightbox.
I was able to get jQuery Colorbox working perfectly with Photoswipe for NextGEN gallery.
Here’s how…
Edit this file:
photoswipe-for-nextgen-gallery/js/ngg-photoswipe.js
Near the top of that file replace this:
//Ready for photoSwipe!
jQuery(function(){
if (jQuery(".ngg-gallery-thumbnail a").length > 0) {
jQuery(".ngg-gallery-thumbnail a").photoSwipe({
With this:
//Ready for photoSwipe!
jQuery(function(){
if (jQuery(".ngg-gallery-thumbnail a").length > 0) {
jQuery('a.cboxElement').removeClass ("cboxElement");
jQuery(".ngg-gallery-thumbnail a").photoSwipe({