jQuery Lightbox For Native Galleries

Description:

jQuery Lightbox For Native Galleries makes the native WordPress galleries use a lightbox script called ColorBox to display the fullsize images.

Demo:

To create the below gallery, all I’ve done is inserted [gallery] into this Page’s content. No modifications are required to get the Lightbox working.

Note however that my site uses just one of the 5 lightbox design presets. You can see demos of the other 4 at the Colorbox homepage. Just click on the demonstration buttons on the left side.

Images by Microsoft

Download:

716 comments to jQuery Lightbox For Native Galleries

  1. Adri3n says:

    Hi, great plugin but i’ve lil problem.

    I use the same theme as viper’s and i whant to use your plugin. but i can’t change the default jquery lightbox which is included in the theme.
    I’ve 3 options in the theme manager, enable/disable Jquery, enable/disable lighbox theme (i desactivate it) and a third.

    How can i do.
    thx
    ad

  2. [...] for WordPress???????Wordpress?????????????????jQuery Lightbox For Native Galleries??ColorBox??????????jQuery Image Lazy Load [...]

  3. marujobhz says:

    hi. its is possible to use the colorbox with this native with singel images in as post… i have only one image in a post, with left align. i can open it with this plugin/ if yes, what i must do? thanks

  4. Kate says:

    Hi,
    I have been using this great plugin for a while. After the latest update I have noticed that it doesn’t display ‘Next’ and ‘Previous’ buttons any more. Every image has to be opened individually which is a pain. I have tried every theme and the problem is always there.
    Any thoughts?
    I am using WordPress 2.8.6 at the moment.

  5. Josh says:

    How can I make work the Lightbox FX with just one picture?

  6. shoaib says:

    nice plugin,worked out of box for me .thnx

  7. Guillaume says:

    Hi,

    Since I have upgraded to Mystique 1.5.3 and WP 2.9, I get the same error as Comment#197.

    I tried all of the 5 themes and always get the same (no-working) result.

    Any help is greatly appreciated.

  8. kamil says:

    +1 problem plugin;

    After the latest update I have noticed that it doesn’t display ‘Next’ and ‘Previous’ buttons any more. Every image has to be opened individually which is a pain. I have tried every theme and the problem is always there.
    Any thoughts?
    I am using WordPress 2.8.6 at the moment.

  9. Josh says:

    LightBox effecto for a single picture? can it be done?

  10. Guillaume says:

    Ok, here is latest update.

    I have updated to Mystique 1.62 and tried again. Still not working (aka not getting the navigation arrows and such).

    I have tried the classic theme and the plugin works flawlessly…

    I see you have WP 3.0a… do you think I should upgrade or maybe you tweaked the code of Mysitque??

  11. Guillaume says:

    Woohoo!, Found the solution… hope it works for everyone.

    In the Advanced tab of the Mystique settings menu, there are 3 checkboxes. The first one needs to be turned on, the 2nd turned off and the 3rd box, I left empty.

    Now skins and features for the plugin works superbly fine!

  12. Philip says:

    Like Josh, I too would like this plugin to work with single images. It’s great for the native gallery but annoying that it seems I have to install another (visually different) lightbox solution to handle single inline images on a page.

    • Viper007Bond says:

      The discussion above about rel=”lightbox” was about the Lightbox script requiring that to work rather than being able to be applied using Javascript like ColorBox can.

      Getting it to work on single images is easy. Just add something like to your <head>:

      <script type="text/javascript">
      	jQuery(document).ready(function($){
      		$("a[rel='lightbox']").colorbox({maxWidth:"95%", maxHeight:"95%"});
      	});
      </script>
      • Josh Arcadia says:

        I tried but it doesn’t work! :’(

      • Philip says:

        Doesn’t work for me either: added rel=’lightbox’ via WP image insert > Advanced Settings. Also tried manually adding “colorbox” to CSS class of a picture and that doesn’t work – I assume that means the class “colorbox” isn’t getting picked up by anything.

        I noticed on the galleries that work they have a class called “cboxElement”. I tried this on a single image and it breaks the script on the page altogether.

  13. Marta says:

    Hello

    The gallery creates thumbnails 150px X 150px in my webpage, how can I change the size of the thumbnails that the gallery creates?

    Thank’s

  14. Steven says:

    I have figured out what I did wrong… I placed the additional code before the wp_head() call and then it doesn’t work.

    Add:

    <script type="text/javascript">
    // <![CDATA[
    jQuery(document).ready(function(){ jQuery("img.size-medium").each(function(index, obj){ jQuery(obj).parent("a").colorbox(); }); jQuery("img.size-thumbnail").each(function(index, obj){ jQuery(obj).parent("a").colorbox(); }); });
    // ]]>
    </script>
    

    after the line which contains the wp_head() call:

    wp_head();
    

    Within the K2 theme you can simply add this into header.php after .

    @Viper007Bond, thanks a million for this wicked and easy to implement plugin!

    • AYMB says:

      @Viper007Bond: This is a great plugin! Thank you.

      @Steven: The script you provided worked well for my single images. I appreciate you providing it. Any thoughts on how to set the theme for the single objects? I’m using Theme1 for the gallery plugin, which has diagonal lines/watermarks. The script above is using a simpler gray background without as much fancy formatting. Thanks.

      • AYMB says:

        A bit further background on the theme question I asked about yesterday: The theming does apply to images and galleries linked from my “home” page (the list of blog excerpts/teases), but not on specific post pages.

        For example, this post contains an image that, after I added the custom-single-image code (below), opens in a lightbox. When opened from that single-post page, it opens un-themed, so to speak; when opened from my home page (second post at the moment), it opens themed.


        //

        I wonder if the code needs to be massaged at all to account for this? I do realize that this is an unsupported feature — and, really, not even a feature — of your plugin, but nevertheless a nice way to create uniformity on all image clicks. Thanks.

  15. Mike says:

    Is there a way to include the necessary javascript code onto a specific page?

    I’m having a major conflict with some other featured content rotators on a different page, and can’t figure out what the conflict is.

    If I could include this plugin on a specific page, that’d solve my problem.

    Any suggestions?

    • Viper007Bond says:

      Yeah, just remove it:

      global $jQueryLightboxForNativeGalleries;
      
      if ( !is_page('about') ) {
      	wp_deregister_script( 'colorbox' );
      	remove_action( 'wp_head', array(&$jQueryLightboxForNativeGalleries, 'wp_head') );
      }

      Put that in your theme’s functions.php or whatever.

  16. Jo says:

    I am still having the same issue as comment #197, unlike Guilliame, I am not using “Mystique” but building a custom theme.

    Does anyone have suggestions for the “Previous” and “Next” buttons to come back? It worked momentarily when I first installed the plugin.

  17. Mike says:

    Doesn’t seem to work. I tried:

    global $jQueryLightboxForNativeGalleries;
    
    if ( !is_page('about-us') ) {
    	wp_deregister_script( 'colorbox' );
    	remove_action( 'wp_head', array(&$jQueryLightboxForNativeGalleries, 'wp_head') );
    }

    And

    global $jQueryLightboxForNativeGalleries;
    
    if ( !is_page('81') ) {
    	wp_deregister_script( 'colorbox' );
    	remove_action( 'wp_head', array(&$jQueryLightboxForNativeGalleries, 'wp_head') );
    }

    and

    global $jQueryLightboxForNativeGalleries;
    
    if ( !is_page_template('about.php') ) {
    	wp_deregister_script( 'colorbox' );
    	remove_action( 'wp_head', array(&$jQueryLightboxForNativeGalleries, 'wp_head') );
    }

    In all three cases the javascript was output into that page, no matter what. Any other suggestions?

    • Viper007Bond says:

      Sorry, you’ll need to wrap that all in a function and hook that function into init, otherwise you’re removing it before my plugin has added it (which won’t keep it removed).

      • Marco says:

        Hi Viper,
        I’ve used your plugin several times and it’s very good.

        But now I have the issue of removing the script from the Home page ’cause it’s in conflict with a slideshow.
        I know I have to wrap everything into a function and hook it up with init but I’m not a programmer or either a developer and even if I tried, the scripts still loading on the home page causing the slider fail.

        Can you help me writing the entire right code here?
        Thank you very much.

        Cheers.

        • Viper007Bond says:

          Can you help me writing the entire right code here?

          No, but here’s something to get you started:

          add_action( 'init', 'some_function_name' );
          
          function some_function_name() {
          	// Do stuff here
          }
  18. ben says:

    Can someone explain to me how to use this plugin other than installing it?
    Installation was smooth, its just there is no documentation as far as what to do with it?

    Where or how do I upload pics? How do I insert them into page…etc

  19. Ony says:

    Hi , i have a problem with the lightbox , in ie7 every time i click on a link on my site ( not only from the gallery ) i get redirected to the jquery lightbix site .

    Does anyone know what this problem is or any way to fix it ?

    Thanks.

  20. Mike says:

    Hi

    I’ve installed this and have added the rel=”lightbox” to my photos, and have added the javscript snippet I found in the comments at the end of my statement, and it’s working pretty well. Only one small change I would like to make if possible.

    Whichever picture I display, uploaded via wp-admin or not, when the lightbox appears, all the photos tagged using rel=”lightbox” appear in the gallery, when I really only want the current one to be.

    I’ve worked through these comments, and can’t see an obvious answer (although according to my wife I probably did BOY looking), but wondered if you can tell me if this is possible or not? If it isn’t then thats OK, because it always shows the current picture.

    Thanks for the plug-in and the work keeping it up to date.

  21. Mike says:

    Just a little more feedback, as I am slowly working things out. The gallery it shows me, is a gallery of entried on the current page it seems, so perhaps this is WordPress functionality rather than plug-in functionality because if I view a single post with a single picture, there is no gallery counter at the bottom of the screen. If I view a category, then the gallery is the photos on that category page.

  22. Mario says:

    Excellent plugin. It works and it’s really easy to install.

    When I open the gallery and click on the image, it goes to the next one. What do I have o do to be able to link each image with a different url?

    Thanks

    • James says:

      I think that will beat the purpose of the plugin. You could just insert images in a post the traditional way then go to the theme script and change stuff. I suggest you use firebug (a firefox addon) to discover which bits of the script to customise for this to work. I don’t expect this to satisfactorily answer your questions!

  23. Philip says:

    Hmmm here’s another good one. Is it possible to have the image description show up underneath the image in the pop up? It is text that is likely going to be longer than the title etc.

    This has been something that has annoyed me with all the lightbox solutions as the title or alt attribute gets misused to be a short caption/description.

  24. daniel says:

    VeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVery

    Thank You!
    Thank You!
    Thank You!

  25. Kate says:

    Well, my plugin still isn’t working. The old version worked great and ever since I have updated there is no ‘next’ or ‘previous’ links. In fact the whole bar below the picture seems to be absent. Is it not supposed to work? Can some one please tell if they have a similar problem or what could be causing it. It worked before the upgrade :(

    • James says:

      It works great for me. Why don’t you completely get rid of it and then reinstall the new one as if you were installing it for the first time? This is my first use and it seems to do wonders for me http://www.jf32.com/?page_id=49
      But I am looking at the possibility of having different galleries for different pages/posts.

  26. David says:

    Great plugin, though I’m having the same problem mentioned above (“next-previous” buttons not showing at all). Using 2.9.1.

  27. Dan says:

    Hi There,

    trying to utilize your plugin. Does it conflict with the Featured Content Gallery? As well I am fairly new at all this and is there further instructions on how to implement the plugin? You state just add [gallery] to the post. Where do I load the pictures etc.?

    Thanks in advance

    Dan

  28. Mario says:

    Hey James,

    I understand. I still love it anyway.

    Thanks

  29. rodrigo says:

    Hi Viper!

    I love your plugin, its the best lightbox I find and use it in some projects.
    But now I want to use your plugin in simple images too (besides inly in gallerys)…
    I try the code you post before:

    “jQuery(document).ready(function(){ jQuery(“img.size-medium”).each(function(index, obj){ jQuery(obj).parent(“a”).lightbox(); }); jQuery(“img.size-thumbnail”).each(function(index, obj){ jQuery(obj).parent(“a”).lightbox(); }); });”

    but doesn’t work…
    can you help?

    thanks

  30. rodrigo says:

    Hi again… I find another plugin that uses “colorbox” and works for simple images: http://www.techotronic.de/index.php/plugins/jquery-colorbox/

    thanks anyway for your great plugin!

  31. Josh Arcadia says:

    LOL!
    funny/stupid thing!
    both together gives me the fx= gallery+single… they didn’t work alone

  32. Mak says:

    Is there a slideshow option as well ? I couldn’t find it :-(

  33. Mario Ortiz says:

    Hi, i love your plugin thanks for developing it it’s pretty awsome, i’m trying to use it on my site and it works fine but i have a flash element on my sidebar and when i click on an image of a gallery and the image pops up (with the plugin) it appears under the flash element.

    any idea how i can solve this?

    Thanks again,

    Mario

  34. Josh Arcadia says:

    Anyone solved the 1 picture FX?

  35. Bob Schlarmann says:

    Hi there, thanks for this plugin it’s easy to install and just works (well, not entirely in my case).

    I have an issue with IE6-8 on my site causing a temporary freeze after loading the page. The problem is that the colorbox.css contains some IE alphaloader declarations with fixed paths which are relative to the html and not the css file. As the plugin is (in my case) located at a different path this made the filters do some requests to non existing files (which were being rewritten to a default html page).

    My workaround for now is to just remove these filter declarations which seems to cause no damage.

    best regards,

    Bob

  36. Eirik says:

    Demo not working atm? Images load in a blank page, not lightbox.
    Sounds good though, eager to try it.

  37. [...] jQuery Lightbox For Native Galleries – Sehr cooles Plugin für das chicke Herrauszoomen der Bilder, ohne dass extra Code eingefügt werden, oder nachträglich ältere Blogposts bearbeitet werden müssen [...]

  38. Jorge Andres says:

    Very nice plugin! Like it a lot!
    If i want it to show some adsense ads right below the image, where do i put the code? Can you help me?

    Tnks!

  39. Mark says:

    I love the plugin but I cannot get it to work with Nextgen Gallery. In its options I used rel=”lightbox[%GALLERY_NAME%]” for another lightbox plug in, but I cannot figure out how to get this one working with NextGen. Any ideas?

    Cheers

    • Viper007Bond says:

      One of the great things about ColorBox (at least from a developer’s view) is that it doesn’t make lightboxes out of things on it’s own. You have to specifically tell it what you want it to make it lightboxes out of. For example, my plugin tells it to select all linked images within a .gallery object, i.e. the output of the [gallery] shortcode. No silly rel tag is involved.

      If you wish you use ColorBox on other objects, you’ll need to select them and then apply ColorBox to them. Here’s some docs you’ll find useful:

      http://docs.jquery.com/Selectors
      http://colorpowered.com/colorbox/

  40. Yurii says:

    Thank, nice plugin ! WP rulezz ;)

  41. Philip says:

    Is there a way to disable colorbox from auto resizing images to the height of the browser window?

  42. Davidoff says:

    I used 3.1.2 and it worked great, but then I updated to 3.1.3 and now when using IE8 and Firefox 3.5.8 the images appear under flash items including embedded youtube videos. It works ok in Firefox 3.6 though. Any suggestions? Can I get the previous version from someplace?
    Thanks!

    • Viper007Bond says:

      Which lightbox theme are you using? The default one (#1) ?

      • Davidoff says:

        I’m using theme #3. I tried #1 but the problem is the same, plus the frame of the image is behind of the flash even in firefox 3.6. But this was the case with the previous version also. But #3 was working ok.

        • Viper007Bond says:

          The only thing I can think of that could cause that would be a change to the ColorBox script when I updated it.

          Regardless, I’m surprised it was able to work before at all if it isn’t working now. The Flash video needs to have wmode=”opaque” in order for things to be able to go on top of it.

          • Davidoff says:

            I know that but it did work before without the “opaque” property and it does not work now even with it :(

            • Davidoff says:

              I fixed it. It looks like there is some problem with the HTML editor of wordpress causing the “opaque” property to be ignored. Anyway it works ok now.

  43. Doug says:

    Very nice, thanks for the plugin. Can you expand this to replace the caption shortcode as well? Then all images would have the same look & feel.

    • Viper007Bond says:

      I’m not sure if that’s possible, infact I don’t think it is since the link to the fullsize is contained in the source of your post rather than inserted on display (my plugin uses a filter to change that link from the image’s page to the fullsize image in the gallery tag).

  44. Bloggy says:

    Just installed it and it works just great ! Thank u.

    Can u pls tell me how to use the lightbox with flv videos that are on my own server ?

    I saw an example here where the lightbox shows a video.

    Thank you once again…. appreciate the plugin. It’s very easy to use.

  45. Bloggy says:

    Oopsy ! :o (

    Thx anyway.

  46. Cameron says:

    How do I go about getting the “description” to display for the pop up image? Thank you!

  47. byman says:

    I just installed your plug-in lighbox.

    1st of all…. let me say…nice one : really easy-to-use

    Gallery works fine but on post area I see some code..I think javascript code

    can You help me?

    http://www.rofl.it

    search for “Illusioni Ottiche” or “Comics Gallery”

    thx

  48. [...] to display a slideshow below the header and can use the WordPress gallery implementation with jQuery Lightbox For Native Galleries plugin to display beautiful client pages. Pixel Happy Child [...]

  49. Marco says:

    That’s exactly what I did ( thx to the Codex )

    I write this:

    <?php 
    
    add_action('init', 'rimuovi');
    
    function rimuovi(){
    
    global $jQueryLightboxForNativeGalleries;
    
    if ( !is_page('Home') ) {
    	wp_deregister_script( 'colorbox' );
    	remove_action( 'wp_head', array(&$jQueryLightboxForNativeGalleries, 'wp_head') );
    
    	}
    }
    
    ?>
    

    put in the functions.php…

    …and it still throw the scripts up in the head.
    That’s why I’ve been asking to you, because I can’t find any other way out.
    Where is my problem? Am I doing or writing something wrong?
    Should I add something more?

    Thank you fo’ reading.
    Best regards.
    Marco

  50. Seth says:

    We’ve been running the plugin for about 9 months on our WPMU-powered site and it was running great, until now. It seems that a recent update (of the plugin? to WPMU 2.9?) broke the functionality. When we click on a gallery image now, the colorbox UI comes up but we get the loading spinner and no prev/next controls. The image never loads and the close button is not active.

    You can see it here: http://wbjtoday.com/blog/cwh-tops-tower/4659/

    Has this happened to anyone else? Have we done something wrong?

    The site is running on WPMU 2.9 and using the theme “The Journal” from WooThemes.

    Thank you.

    • Viper007Bond says:

      Looking at Firefox’s error window, your easing.js jQuery plugin is throwing a ton of error messages. It’s likely causing ColorBox to break too (it’s a jQuery plugin).

  51. Chris says:

    Thanks for pointing me in the direction of Colorbox, I have a WP plugin which uses a different jquery-powered lightbox and it would not play nicely with any other lightbox on the same page, whatever I tried. Colorbox is the only one to have done the trick, this has solved a huge problem for me. Sorry I actually don’t need the gallery plugin (yet) but still wanted to say thanks!

  52. Josh Arcadia says:

    Starting to hate this plugin since requests hs been ignored…
    I tried all to make it work with one image and nothing, I combined with Colorbox and Slimbox, just on this cases you can see SINGLE IMAGES popping out on the screen, but not theming, not complications at all but it doesn’t feel right using a 2 items for 1 problem… anyone had been lucky?

  53. Chris says:

    I’m sure there’s something really simple I’m not doing right, but I’m trying to use Colorbox with NextGEN Gallery & can’t get it to work. My images are all in galleries rather than pages or posts, so are loaded through the NextGEN Gallery plugin. The only place I can find where I can add any code for Colorbox is under NextGEN Options | Effects. There I have a “Link Code line” box & I’ve added the following:
    class=”thickbox” rel=”%GALLERY_NAME%”
    But it’s not working. All I get is the standard thickbox style, not any of the Colorbox styles.

    Am I missing something? Should I be adding code somewhere else?
    Any help is much appreciated. Thanks.

    • Viper007Bond says:

      My plugin doesn’t use the rel tag to make the lightboxes. It looks for the [gallery] HTML output specifically.

    • Bill says:

      It took some trial-n-error but this is how I go t it to work with NextGEN. I took a look at ColorBoxes’s website samples and tweaked their sample code. Paste the following into your template underneath :

      jQuery(document).ready(function($){
      $(“a[rel='colorbox']“).colorbox();
      });
      :

      Then in NextGEN Options-Effects, you should choose Custom and replace the box contents with this:

      rel=”colorbox”

      Note that the Javascript and rel should be the same – in this case, they are both ‘colorbox’.

  54. chris says:

    Thanks for getting back to me. I’m still a little confused though. What code should I be adding & where to get the Colorbox styles to work?

  55. Brian says:

    Well, it just sits there and does nothing. I’ve spent about an hour trying to configure it. I’d feel a lot better if there was some sort of documentation on how to set it up to compare what I’ve done. Oh, so I install it, then activate it? Thanks a lot.

    • Viper007Bond says:

      What do you want me to do? Make up extra steps? Make it harder to install? There’s nothing to do other than install it (Plugins -> Add New) and activate it.

      If it’s not working for you, switch to the default theme and disable all other plugins. The issue is likely one of three things:

      1) You managed to install it incorrectly
      2) Your theme is missing one of the required theme hooks (in this case wp_head() in the header)
      3) Another plugin is causing a conflict and breaking my plugin

  56. Vasiliy from Russia says:

    Thank you, Mr. Bond for your wonderful plugin.
    Unfortunately I can not understand how to do so would not show scroll bars and the image is put at 100% scale.
    Example how do you – http://www.viper007bond.com/2010/02/06/ugly-betty-uses-wordpress/

    • Viper007Bond says:

      The plugin automatically makes the image no bigger than 95% the size of your browser window. It should fit entirely in your window.

      If it’s not, perhaps your theme’s CSS is breaking it or something.

  57. [...] jQuery Lightbox For Native Galleries [...]

  58. Zean Design says:

    beautiful ..! a cause that ahce not pull the plug is because we have installed “” in the heard.

  59. Sharon says:

    Thanks a lot! I was looking for a plugin like this, and yours simply works.

  60. Florencio says:

    I have installed your plugin and I choose a photo from the gallery. When returning to the original page everything in the content container is shifted left. It clears once I refresh the page.

    I have seen this error in IE8

  61. Bill says:

    Forgot the code tags in my prior post…

    It took some trial-n-error but this is how I go t it to work with NextGEN. I took a look at ColorBoxes’s website samples and tweaked their sample code. Paste the following into your template underneath wp_head():

    jQuery(document).ready(function($){
    $("a[rel='colorbox']").colorbox();
    });

    Then in NextGEN Options-Effects, you should choose Custom and replace the box contents with this:

    rel=”colorbox”

    Note that the Javascript and rel should be the same – in this case, they are both ‘colorbox’.

    • Viper007Bond says:

      Wrap in [php] or [code]. :)

    • tj says:

      Bill,

      Thanks for your input on how to make this plugin work with Nextgen. I’m very new to WordPress, so please have patience with me!

      I followed your instructions in editing the jquery-lightbox-for-native-galleries.php file, but I’m getting an error code when attempting to use Nextgen immediately afterward. What am I failing to do correctly?

      If you have a moment, hoping you could walk me through this . . . I’d be very appreciative. Thanks much!

  62. Velmont says:

    Hm. WordPress has a bug where it won’t respect [gallery columns=5], so it outputs only 3 and 3 images (irritating to say the least!). And also, I’ve got a «top» image, that is single and I need to add into the whole.

    So how can I modify this so that it takes *all* the pictures in one go? Right now if you click on the first 3 pictures, the 2 rest won’t get shown. :-(

    You can see it here if I didn’t make myself clear: http://fjoloy.s0.no/

    • Velmont says:

      Sorry, I tried another plugin that said it had that functionality already (jquery colorbox).

      But your plugin fixed the irritating bug in WordPress that links to attachmentpage although my gallery says this: [gallery link="file" columns="5"]

      How did you fix that? Strange this bug, I would think WP devels knew it, but then probably a conflicting plugin that does it. But it’s not easy to find, I don’t have anything other related to galleries.

      • Velmont says:

        Sorry for the spam, you can very well merge it. I just bit the bullet, and instead of living with all of the bugs in wordpress gallery I did it the old, manual way. :-)

  63. If someone want to move JavaScript code to footer then in file jquery-lightbox-for-native-galleries\jquery-lightbox-for-native-galleries.php line 26:

    add_action( ‘wp_head’, array(&$this, ‘wp_head’) );

    change to:

    add_action( ‘wp_footer’, array(&$this, ‘wp_head’) );

  64. Mwette says:

    hellow!

    I have succeeds to put this lightbox on my nextgen galery!
    Even with the explications to Bill, I have to search a moment.
    So I made a simple explications here :

    http://wordpress.org/support/topic/386134?replies=1

    So, thank you for the help, otherwise I will have search still a long time!
    Now, i have all that i want in plugins on my wordpress!!!! THANKS!

  65. [...] jQuery Lightbox For Native Galleries ( Download – Demo [...]

  66. Eddy says:

    Hi Alex,
    thanks for your work first.
    Second, I have a question:
    Is it possible to “tell” the plugin to load only if it finds a gallery in a post?
    If yes, how should I edit your code?

    Thanks.

    Bye,

    Eddy

    • Viper007Bond says:

      Looking forward at the posts that are going to display is not reliable. However I just realized I can move the Javascript (but not the CSS) to the footer and then I can easily opt to not load it if there’s been no galleries.

  67. Kris says:

    Viper. Awesome Plugin. It is EXACTLY what I was looking for! no frills and Automagic! :) One thing I would like to do is move the caption text to the top of the wrapper in “Theme #4″ My captions are apparently too long and collide with the other text at the bottom. I took a look at the CSS and I’m not real sure what I should do. Thanks in Advance!

  68. Ryan says:

    If I have jquery gallery of 10 large images, do i need to have a 10 corresponding thumbs on the page, in order for the gallery to work? Or can there be 1 thumb and 10 images in the gallery-view?

    Ryan

  69. Ryan says:

    If I have jquery gallery of 10 large images, do i need to have a 10 corresponding thumbs on the page, in order for the gallery to 10 images? Or can there be 1 thumb and 10 images in the gallery-view?

    Ryan

  70. Demonek says:

    Elegancka galeria :)

  71. AYBM says:

    I wrote earlier about an issue that I understand better now. I integrated this plugin into my site, and really appreciate its functionality and simplicity. Few plugins work so seamlessly and effortlessly, without being unnecessarily clunky. Thank you for offering and supporting it.

    The small issue I’m having relates to themes — I’m using Theme 1. Galleries on excerpts on my home page show up themed when clicked. However, if you open the full post, the same galleries there appear unthemed. Is this a known issue? Is there an easy fix?

    Thanks again!

    • Viper007Bond says:

      The styling is being applied, but you have another plugin that is loading it’s own styling. In this case it’s WP AJAX Edit Comments. It also uses Colorbox and bundles it’s own theme.

      I was aware of the issue, but still am not sure what to do about it.

  72. AYMB says:

    Got it. Thank you for the quick response.

  73. Viper007Bond says:

    v3.2.0 of my plugin has basic single image lightbox support. You’ll need to manually give the link a class of “lightbox” like so:

    <a href="..." class="lightbox"><img src="...
  74. malik says:

    hi 007. bundle of thanks for this plug-in, it revealed my tension. i would like to get suggestion from you. in fact am trying to make Gallery with 3 sub menu of album
    Gallery
    Album1
    Album2
    Album3

    how can i do that with your plug-in. shall be thankful to you for your help.

  75. Pedro Pereira says:

    Hi.

    I have a problem with jQuery Lightbox For Native Galleries plugin for wordpress.
    I have added to a page this gallery to a index page with this code:

    [gallery]

    [/gallery]

    …but when I try put this code in the other page, the gallery don’t appears. This script only support one gallery?

    Thanks in advanced.

    Best Regards,
    Pedro Pereira

  76. TJ says:

    Alex,
    Many thanks for the work and dedication to making this plugin and continuing to diligently correspond on the forum board.

    Completely new to the world of WordPress, but slowly (TOO slowly) coming along.

    I initially decided (right or wrong) to use Nextgen as my site’s photo manager – it was said to offer the “simplest” UI for newbies like myself.

    I’ve spent weeks trying to find an add-on that improves upon Nextgen’s capabilities: more attractive slideshow and image overlay. I really like your plugin here, and I’ve attempted the code tweaks mentioned in the two or so comments re: how to get your plugin and Nextgen to play nice. But, no avail so far. I tried posting for some more insight last week or so, but no response.

    Can you lend a hand? I’d rather not have to settle for NG’s standard “shutter” or “thickbox” effects, but I’m VERY green to all things code-related as well, and I’ve already uploaded, tagged, captioned, etc a couple thousand photos to NG.

    (For what it’s worth, I’m using latest versions available for WP, NG and Thesis 1.7.)

    Thanks in advance to any and all Good samaritans willing to help me out!

  77. saeed says:

    thank you bout when i put on link download they back me to the home page

  78. [...] ver ejemplo de uso aqui. Y pueden bajar el plugin para wordpress desde [...]

  79. thank you for sharing the plugins. . .
    I use it for my band site company. . . . .
    :D

  80. adfy says:

    http://alldesignedforyou.com/lutheran/photo-gallery/

    when you click on the thumbnail, it says 1 of 3, however there’s 11 images in the gallery. not sure why it’s doing that. help?

    • Jorim says:

      I’ve exactly the same problem as adfy. Somehow every row becomes it’s own gallery, but they all have the same class, ‘gallery-image attachment-thumbnail’…

      You can spot the problem at adfy’s gallery.

      Anyone ideas?

  81. SusieQ says:

    I’ve installed the ColorBox lightbox script in the hope of automating a gallery slideshow at the URL above, but the slideshow currently only operates on a manual click-through basis.

    What I’m wanting to achieve is an automated slideshow like that demoed on your site, and I’m hoping you might be able to help me out with a simple step-by-step guide to the process required to get it up and running…

    Many thanks!

  82. [...] Shared jQuery Lightbox For Native Galleries « Viper007Bond.com. [...]

  83. alphaone says:

    Hi,
    thanks for your great job!

    I’ve installed your jquery lightbox in theme but seems does not work correctly…it seems that don’t recognize the [gallery] shortcode in wordpress…

    could you please help me?

    Thanks

  84. [...] off your photography using native WordPress galleries and the jQuery Lightbox For Native Galleries plug-in. We’ve even customized the CSS so the plugin looks like the rest of the Family Tree [...]

  85. [...] off your layouts using native WordPress galleries and the jQuery Lightbox For Native Galleries plug-in. We’ve even customized the CSS so the plugin looks like the rest of the Family Tree [...]

  86. Bee says:

    None of the theme options seem to be exactly the same as the one here on your page, and I like yours best for the site I am working on. How can I get this theme?

  87. Cindy says:

    Your plugin worked wonders for my page. I was unable to make a single visible image link to multiple images in a gallery but so far, I am satisfied with how the effect looks in my blog.. thank you! :)

  88. Brian R says:

    Thanks for the plugin. I’ve looked a bajillion options today and I keep coming back to yours—clean, simple, attractive, easy. Perfect. Almost…

    For my needs, I really need to use the Caption field in from the WordPress Media Library instead of the Title field for the captions on the images. Two reasons: 1) so i can more tightly manage SEO with all those fields, and 2) so I can better organize and manage my Media Library and can scan faster when I’m looking for images–my captions are going to be more descriptive and narrative and less title-y.

    I’ve spent the better part of the day pulling my hair out trying to find a plugin that does it and is also as great and simple as yours, and works. I can’t find one. So, Viper, I’m begging you–would you tell me how I can swap the Title out for the Caption field (which might be a tad long and wrap on two lines)? I’m brave enough to be dangerous–I can make my way around code and get to the right place, kinda figure out what’s going on, but break things without direction. My point is that even if you can provide a roadmap, I might be able to hack my way through.

    Please save my sanity and my weekend and help…I’d be super grateful. Thanks.

    • Viper007Bond says:

      The lightbox uses the image’s title element (in the HTML) as the caption in the lightbox. This HTML is generated entirely by WordPress. You’d need to use the post_gallery or wp_get_attachment_link filter. Look at gallery_shortcode() in /wp-includes/media.php or wp_get_attachment_link() in /wp-includes/post-template.php.

  89. TJ says:

    Has anyone come up with a fool-proof way (for this admitted fool!) to use this with the latest version of NextGen?
    Thanks!

  90. BK says:

    The code works great! When using the single image class, I am wondering if there is a way to display the caption or title when the image is enlarged. I have looked through the comments and have not found a solution/comment listed about this subject.

    Thank you.

  91. [...] You may have heard of lightbox and now it has come to WordPress, but only for native gallerys. Click here to visit the website. [...]

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

If you wish to post code, write it like [code]blah[/code] so it will display properly.