WordPress.org

Forums

Pinterest Lightbox
Pinterest Lightbox does not work (20 posts)

  1. votw
    Member
    Posted 1 year ago #

    I have installed NextGen gallery and Pinterest lightbox but the "pin it" function does not appear on my photos in my gallery.
    I have tried going into the NextGen menu Gallery -> Options -> Effects Tab, and from the dropdown "JavaScript Thumbnail effect" select None as suggested on all other help forums but I do not have these options in my gallery menu. I have lightbox effects but changing this does not seem to help.
    Can anyone enlighten me as I have been trying to nut this out for days....Grrr!

    https://wordpress.org/plugins/pinterest-lightbox/

  2. bozzo12
    Member
    Posted 1 year ago #

    I figured it out:

    Gallery -> Other Options -> Lightbox Effects -> Show Advanced Settings:
    Delete any entry in "Javascript URL"

    works!

  3. Devin Charbonneau
    Member
    Posted 9 months ago #

    bozzo12: I tried this and not only did it not work but also my lightbox no longer works.

  4. Devin Charbonneau
    Member
    Posted 9 months ago #

    I've been having the same issues as vote btw.

  5. Devin Charbonneau
    Member
    Posted 9 months ago #

    Any chance anyone has any suggestions? I either have to delete this plugin altogether or fix it within the week.

  6. votw
    Member
    Posted 9 months ago #

    Devin,
    I had Nextgen & Nextgen Pro and have had nothing but issues with it. they did an upgrade recently and it crashed all the pics on my site. Their answer was to stop using any WordPress media and only use Nextgen media. In my mind this shouldn't conflict as it didn't until the upgrade- I have been left with no choice but to delete the Pro plugin and cancel my membership. As I mentioned I often had problems and their support was less than helpful.

    Good luck

  7. Devin Charbonneau
    Member
    Posted 9 months ago #

    Thanks Votw.

    I had heard this plug-in had great support, any help from the author would be greatly appreciated. The client's site I'm working on has a giant Pinterest following and it would be a shame to not be able to use this feature anymore.

  8. Devin Charbonneau
    Member
    Posted 9 months ago #

    Anyone out there that could help me with this?

  9. travis.hoglund
    Member
    Plugin Author

    Posted 9 months ago #

    Devin,

    Sorry I did not see this thread sooner. What is the URL of your site so I can check it out? I will try to diagnose what is going on and possibly release an update if necessary.

  10. Devin Charbonneau
    Member
    Posted 9 months ago #

    Hi Travis,

    The site is http://morebeautifulhome.com

    It stopped working when I transferred the website over to it's current domain. The PinIt button disappeared, then when I tried following "bozzo12" 's suggestion above the lightbox stopped working altogether.

    Thanks!

  11. Devin Charbonneau
    Member
    Posted 9 months ago #

    Any word on this Travis?

  12. Devin Charbonneau
    Member
    Posted 8 months ago #

    Hi Travis, any chances of getting a diagnosis here?

  13. travis.hoglund
    Member
    Plugin Author

    Posted 8 months ago #

    Devin,

    Pinterest Lightbox is setup to work with NextGen Gallery. It does not necessary work with other lightbox programs out of the box. Can you confirm that the images that are on the homepage are not NextGen related? If this is the case, I know of a quick fix with a few hooks.

    Thanks,
    Travis

  14. Devin Charbonneau
    Member
    Posted 8 months ago #

    The images on the home page are not NextGen related. The only place I used the NexGen gallery function is on the "Our Team" page.

  15. travis.hoglund
    Member
    Plugin Author

    Posted 8 months ago #

    Devon,

    Pinterest Lightbox is designed to be used with galleries, but you are using a different lightbox on the homepage. This causes a little bit of complications because Pinterest Lightbox will only play nice with one of them. If it was my site, I would change the lightbox effect to whatever you would like, which will apply it to the team page only (the pin it button will not appear). Then, by applying the code below the pinterest button should appear for you with your custom implementation.

    If this is what you are attempting to do, I would recommend adding this code to your functions.php file in your WordPress theme:

    add_action('th_pl_lightbox_thumbnail_selector', function(){
    return ".gallery-fancybox";
    });

    add_action('th_pl_lightbox_image_selector', function(){
    return ".fancybox-image";
    });

    add_action('th_pl_lightbox_pin_selector', function(){
    return ".fancybox-outer";
    });

    add_action('th_pl_lightbox_prepend_or_append', function(){
    return "append";
    });

    This should work, but you will notice that the PinIt button slightly goes outside of the Lightbox. This is because the particular lightbox you are using automatically adds a width/height to the lightbox which leaves no room for the pin-it button.

    Due to the high interest in this plugin, I think I am going to make some updates in the future for it to work more effectively with other lightboxes, but the original vision was for it to only work with NextGen galleries.

    Please let me know if this works for you.

    Thanks,
    Travis

  16. Devin Charbonneau
    Member
    Posted 8 months ago #

    Hi Travis,

    Thanks for the reply.

    I think the theme I'm using came with a default lightbox which must be the issue as there is nowhere to turn it on or off. I'm not exactly a wiz with coding, I take it I would open this in the editor and pop the code in there. Where exactly would I put it?

    Also, as you can see in the thread above^ I took bozzo12's advice as I was looking for a quick fix but it made the lightbox no longer work whatsoever. Just thought I should note that.

  17. travis.hoglund
    Member
    Plugin Author

    Posted 8 months ago #

    Devin,

    Yes you can add the code via the editor at the very end of the functions.php file, however I would not recommend doing it this way. I recommend editing it using FTP (you may need to reach out to your hosting provider if you do not know what this is). The reason I recommend this way, is because if you modify something through the editor incorrectly, it will crash the WordPress application not allowing you to correct the mistake. With FTP, it has no reliance on the WordPress application so you make edits independently.

    Bozzo's suggestion of changing the lightbox effect to "No Lightbox effect" was useful in Pinterest version 1.3 and older, because I used to have my own lightbox effect included with the plugin that overrode NextGen. This is no longer useful in current versions, because I wanted the control to stay with NextGen.

    Let me know if you are able to update that file, it should fix your issue on the homepage, even with the custom lightbox.

  18. Devin Charbonneau
    Member
    Posted 7 months ago #

    Hi Travis,

    I tried popping in the code at the bottom of the functions.php file but didn't have any success. I've been told by our hosting provider that it may be an issue with the version of PHP. I've also been told that our CSS is linking externally to an unavailable stylesheet. To further complicate matters my theme's updater crapped out on me recently and the theme's developer appears to have closed up shop and gone MIA. This made it so in order to be able to edit the site again in wordpress I had to delete the last two lines of code from the functions.php file.

    I should stress I'm not a developer although it should be fairly obvious if you've read what I've written. If you have any other suggestions that would be great. Thanks!

  19. Devin Charbonneau
    Member
    Posted 6 months ago #

    Hi Travis, thanks for your help in the past. I managed to get the lightbox working again a few weeks ago by simply changing the setting to "thickbox" I'm now presented with a new issue: images that are meant to be used as links are trying to open in the lightbox except there's nothing there. So when it says "click the image below" the image is supposed to open the link in a new window except I'm just getting a blank lightbox. If you right click and click "open in new window" that works. Sorry if I've been a headache in the past, perhaps this is an easy fix. Any suggestions?

  20. Samara
    Member
    Posted 5 months ago #

    This plugin broke for me too. I did find another plugin that works out of the box with NexGen Gallery here: https://wordpress.org/plugins/frizzly/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Pinterest Lightbox
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic