WordPress.org

Ready to get started?Download WordPress

Forums

Facebook Album Sync
[resolved] Lightbox (22 posts)

  1. lineenil
    Member
    Posted 1 year ago #

    Hi
    This works great, but I need the images to pop up in a lightbox, not just in the browser window. Any way I can acchieve this?

    http://wordpress.org/extend/plugins/facebook-album-sync/

  2. Dwain Maralack
    Member
    Plugin Author

    Posted 1 year ago #

    Hi lineenil

    Thank you for the compliment.

    This plugin was created with lightbox built in. Would you mind sending me a link to where you've loaded the gallery so I can inspect why its not working?

    Regards
    Dwain

  3. dvanoss
    Member
    Posted 1 year ago #

    I also have the same issue - I see lightbox in the js folder but the image is called up in the main browser window.

  4. stephen_lsd
    Member
    Posted 1 year ago #

    I too have the same issue, and have tried everything to change the code to reflect a standard lightbox (removing the image as a background in the div etc) but alas still opens in the browser, so for now I've included a target _blank - not ideal.

    I also tried this plugin on a clean WP install to see if I had any conflicting plugins but still doesn't fire a lightbox.

    Any help would be great, as it's a fantastic and time saving tool.

  5. stephen_lsd
    Member
    Posted 1 year ago #

    Playing about and testing the code I have found that the default code puts out the following...

    <a class="photolink" href="http://sphotos-b.ak.fbcdn.net/hphotos-ak-snc6/168702_164256273625794_5555704_n.jpg" rel="lightbox[galleryname]"><div class="photothumblarge" style="background-image: url(http://sphotos-b.ak.fbcdn.net/hphotos-ak-snc6/s320x320/168702_164256273625794_5555704_n.jpg)"></div></a>
       <div class="photothumblarge" style="background-image: url(http://sphotos-b.ak.fbcdn.net/hphotos-ak-snc6/s320x320/168702_164256273625794_5555704_n.jpg)"></div>

    Which does not fire the light box, but if you remove the last (repeated div photothumblarge it will work, any ideas how to stop it repeating this div?

  6. MrSqurk
    Member
    Posted 1 year ago #

    Here is a link of the lightbox not working. http://squrk.com/adrian/?page_id=10

    Please excuse the terrible looking website. I only started it an hour ago.

  7. stephen_lsd
    Member
    Posted 1 year ago #

    Mine operates exactly the same way MrSqurk

    (Also the loading.gif in the plugin is named wrong in the code hence the broken image link top left.)

  8. stephen_lsd
    Member
    Posted 1 year ago #

    It's something to do with the containing DIV <div id="fbalbumsync"></div>

    I have removed the front end HTML and pasted in back into the page outside of the 'fbalbumsync' div and the lightbox works, but once you drop the HTML for the image back within that div, it breaks.

  9. Dwain Maralack
    Member
    Plugin Author

    Posted 1 year ago #

    Hi All, thanks for your efforts in trying to solve some of the issues in this plugin. I will have time of next week to look into all the issues.

  10. Dwain Maralack
    Member
    Plugin Author

    Posted 1 year ago #

    Hi All, thanks for your efforts in trying to solve some of the issues in this plugin. I will have time of next week to look into all the issues.

  11. wgungfu
    Member
    Posted 1 year ago #

    I'm getting a lightbox issue as well, but for a different reason. Your script is generating an error "Uncaught TypeError: Cannot read property 'next' of undefined " specifically in the code section "check if there are more image."

    Here's the url:

    http://josephdouglashomes.com/home-kitchen-bath-remodeling/remodeling-photos/?fbasid=10151193112937476

  12. ibits.orgfree.com
    Member
    Posted 1 year ago #

    Is there any knows how to solve this problem about lightbox problem. Thank you

  13. kitcorsa
    Member
    Posted 1 year ago #

    same issue... lightbox not working, just shows the image in a new browser window.

  14. kitcorsa
    Member
    Posted 1 year ago #

    tried commenting out the <div id="fbalbumsync"> in the facebook-album-sync/photos.php file and this just stops all the images from displaying.

  15. kitcorsa
    Member
    Posted 1 year ago #

    sorry thought i'd fixed it but after further test still no luck... did work for a minute

  16. Markus Henriksson
    Member
    Posted 1 year ago #

    I managed to get it to work by just forgetting to remove my old lightbox. Hope it helps some of you. http://www.lockrop.net/facebook-album/

  17. AndreiF
    Member
    Posted 1 year ago #

    Let me know when the new version is up and fully functional. Thank you!

  18. orozcomm
    Member
    Posted 1 year ago #

    Having the same issue with the lightbox functionality.

    http://www.circovazquez.com/NewSite/galerias-de-fotos/

    Any ideas on how to get it working?

  19. reformedmedia
    Member
    Posted 1 year ago #

    Markus, what is your old lightbox? Which plugin is that?

  20. Markus Henriksson
    Member
    Posted 1 year ago #

    reformedmedia, it's the one from nextgen gallery.

  21. Gizmo.mac
    Member
    Posted 1 year ago #

    First I like to say thanks for this great plugin!

    About the lightbox bug, please
    change the facebook-albums-sync.php line 41:
    wp_enqueue_script('lightbox', $url.'js/lightbox.js', array('jquery_fbalbumsync'), '1.0', true);

    to

    wp_enqueue_script('lightbox', $url.'js/lightbox.js', array('jquery'), '1.0', true);

    This helps for me.
    I also find an error at console, from the fbloader.gif what I can't load because the path is misstyped, please check it.

  22. Dwain Maralack
    Member
    Plugin Author

    Posted 1 year ago #

    Thank you for the updates Gizmo, I've updated this in version 0.2 which will be updated shortly.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic