WP jQuery Lightbox
Lightbox not launching from thumbnails in table (2 posts)

  1. jryrob
    Posted 3 years ago #

    I'm rebuilding my website on the WordPress platform using Weaver II as my base theme. I have everything working except getting lightbox to launch when a thumbnail is clicked. I've been using Lightbox2 for about 18 months on (http://jryanroberts.com/). I copied the code and made some adjustments to get it to render correctly on my wordpress version (not live yet). Below is the code for one of the pages. Any ideas why the Lightbox isn't engaging? I'm not using native galleries but rather the code below to fetch the images. Many thanks in advance.

    <table width="920" border="0" cellspacing="1" cellpadding="1">
          <td><a href="images/beauty/beauty_photo_0093.jpg" rel="lightbox[a]"><img src="images/beauty/beauty_photo_t0093.jpg"></a></td>
          <td><a href="images/beauty/beauty_photo_0094.jpg" rel="lightbox[a]"><img src="images/beauty/beauty_photo_t0094.jpg"></a></td>
          <td><a href="images/beauty/beauty_photo_0095.jpg" rel="lightbox[a]"><img src="images/beauty/beauty_photo_t0095.jpg"></a></td>
          <td><a href="images/beauty/beauty_photo_0098.jpg" rel="lightbox[a]"><img src="images/beauty/beauty_photo_t0098.jpg"></a></td>


  2. ulfben
    Plugin Author

    Posted 3 years ago #

    Three options;
    You didn't include jQuery
    You didn't include wp-jquery-lightbox
    You didn't initialize wp-jquery-lightbox

    All of these things are of course automated if your theme is well behaved. Ergo; disable your theme and run the default Twentytwelve or whatever it's called these days.

    If it works in the default theme, add wp_head() and wp_footer() to your theme.

    If it DOESN'T work with the default theme, disable all other plugins and see if that makes a difference. Activate them one after another until you find what breaks your site.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP jQuery Lightbox
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.