Support » Plugin: jQuery Pin It Button for Images » Can it work with lightbox gallery images?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author mrsztuczkens

    (@mrsztuczkens)

    Hi,

    for now, there’s nothing you can do to make it work with lightbox gallery images. The box with the image is created after the page is loaded (it doesn’t exist on page load) and therefore (at least for now), it won’t work. It’s a pretty similar issue to this one: http://wordpress.org/support/topic/button-only-on-first-5-images?replies=2. Please read my answer in that topic.

    Hi, folks.

    I use the next trick for that (init all the things again). Not brilliant solution, but it works.

    $(“.fancybox”).fancybox(
    {
    afterShow: function() {
    jpibfi.addImages( jpibfi_options.imageSelector );
    jpibfi.prepareImages( $(‘img[data-jpibfi-indexer]’) );
    }
    }
    );

    belfisher, where does that code go? I assume that’s for fancybox only?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Can it work with lightbox gallery images?’ is closed to new replies.