WordPress.org

Forums

jQuery Pin It Button For Images
Can it work with lightbox gallery images? (4 posts)

  1. Adrian
    Member
    Posted 1 year ago #

    I am using Ciola theme and liking it very much but the images all appear as lightbox galleries and I've set the pin it button to a minimum of 300x200 so it doesn't appear on the thumbnail but clicking them opens the lightbox image and there's no option to pin that image.
    Can anything be done or will it not work?

    Really appreciate your help.

    Website - http://www.slrcoaching.com

    Example page with lightbox galleries http://slrcoaching.com/whats-in-your-bag-with-rob/

    http://wordpress.org/plugins/jquery-pin-it-button-for-images/

  2. Marcin Skrzypiec
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  3. belfisher
    Member
    Posted 1 year ago #

    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]') );
    }
    }
    );

  4. amazemedia
    Member
    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • jQuery Pin It Button For Images
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic