Support » Plugin: Facebook Album & Photos » there is no lightbox effect

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello, I installed the plugin Facebook Album & Photos 1.2 but there is no lightbox effect on any side, please could help me, I could say that another lightbox plugin that supports this I can install and operate.

    thanks for your prompt response.

    pdta: There are paid version?

    The path to the lightbox CSS and JS files are broken in the plugin code. I was forced to just comment out the code that called the css and js on lines 28-43 of facebook-photos.php since my theme has it’s own “lightbox” effect.

    I then modified the plugin code on line 114 to add my own class to the output and this worked great. Hope this helps you and anyone else who might want to use this plugin – which works pretty well for my purposes.

    It would also be great if the plugin author could limit the loading of css and js to just the pages that display the facebook galleries – this could be an option in the plugin settings.

    Thanks to 509tyler, I got on the right track, the links in this plugin are indeed broken but can be restored. Edit facebook-photos.php and change link 31 to 33:

    <script type='text/javascript' src='".get_bloginfo('wpurl').'/wp-content/plugins/facebook-photos/jq-lightbx/js/jquery.js'."'></script>
    		<script type='text/javascript' src='".get_bloginfo('wpurl').'/wp-content/plugins/facebook-photos/jq-lightbx/js/jquery.lightbox-0.5.js'."'></script>
    		<link rel='stylesheet' type='text/css' href='".get_bloginfo('wpurl').'/wp-content/plugins/facebook-photos/jq-lightbx/css/jquery.lightbox-0.5.css'."' media='screen' />


    <script type='text/javascript' src='".get_bloginfo('wpurl').'/wp-content/plugins/facebook-album-photos/jq-lightbx/js/jquery.js'."'></script>
    		<script type='text/javascript' src='".get_bloginfo('wpurl').'/wp-content/plugins/facebook-album-photos/jq-lightbx/js/jquery.lightbox-0.5.js'."'></script>
    		<link rel='stylesheet' type='text/css' href='".get_bloginfo('wpurl').'/wp-content/plugins/facebook-album-photos/jq-lightbx/css/jquery.lightbox-0.5.css'."' media='screen' />

    With other words: the directory in the links is wrong, it should be facebook-album-photos in stead of facebook-photos

    After the change, it worked with no problem!

    good luck!

    images used in the jquery lightbox plugin didn’t work either, i had to go to jq-lightbx/js/jquery.lightbox-0.5.js and change the relative links on lines 15 to 19 to absolute links

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘there is no lightbox effect’ is closed to new replies.