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:






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
Works fine for me (unchecking the lightbox box).
ok, in fact it’s working when i put a gallery in my post, but when i want to put a single picture, it’s not working, but when i read the plugin’s name, i’m think it’s normal. no ?
Correct, it only affects the [gallery] shortcode.
[...] for WordPress???????Wordpress?????????????????jQuery Lightbox For Native Galleries??ColorBox??????????jQuery Image Lazy Load [...]
* i think *
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
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.
How can I make work the Lightbox FX with just one picture?
nice plugin,worked out of box for me .thnx
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.
+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.
LightBox effecto for a single picture? can it be done?
[...] jQuery Lightbox For Native Galleries [...]
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??
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!
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.
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>I tried but it doesn’t work! :’(
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.
Should work fine. You need to place that HTML/Javascript after
wp_head();though and the rel need to be on the link, not the image.Yes I got it working. Must of been because I put the script before the wp_head. Thanks! Next would be making it so that automatically boxes a single image without adding “lightbox” to the rel field. But good enough.
You can easily have it select based on whatever you want: http://docs.jquery.com/Selectors
a with rel=”lightbox” is just a common method of marking images for being lightboxed, that’s all.
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
Settings -> Media
Use Regenerate Thumbnails if you need to change the size of old uploads.
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:
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!
@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.
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.
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?
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.phpor whatever.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.
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?
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).
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.
No, but here’s something to get you started:
add_action( 'init', 'some_function_name' ); function some_function_name() { // Do stuff here }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
This plugin builds upon an existing WordPress feature. You upload pictures, insert the gallery, etc. the same way you did before.
If you are still clueless, check out this handy guide: http://en.support.wordpress.com/images/gallery/ It was written for WordPress.com, but it’s the same thing for a WordPress.org install.
[...] Descarga | jQuery Lightbox para WordPress [...]
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.
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.
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.
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
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!
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.
VeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVery
Thank You!
Thank You!
Thank You!
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
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.
[...] jQuery Lightbox For Native Galleries WP Plugin [...]
Great plugin, though I’m having the same problem mentioned above (“next-previous” buttons not showing at all). Using 2.9.1.
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
My plugin just makes the native, built in gallery system use a lightbox to display the fullsize images. Everything else is through the existing feature.
If you still have no idea what I’m talking about, then read this support document from WordPress.com: http://en.support.wordpress.com/images/gallery/
Hey James,
I understand. I still love it anyway.
Thanks
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
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!
LOL!
funny/stupid thing!
both together gives me the fx= gallery+single… they didn’t work alone
Is there a slideshow option as well ? I couldn’t find it
Not that I’m aware of, no.
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
You need to set “wmode” to “transparent” on the Flash item. Google will tell you more if you have no idea what I’m talking about.
I’m talking of the 1 picture with Lightbox effect…
Anyone solved the 1 picture FX?
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
Demo not working atm? Images load in a blank page, not lightbox.
Sounds good though, eager to try it.
It’s working for me.
[...] Check out live demo [...]
[...] 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 [...]
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!
You would need to modify the lightbox script. This is something I do no provide support for (you’re on your own).
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
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/
Thank, nice plugin ! WP rulezz
Is there a way to disable colorbox from auto resizing images to the height of the browser window?
You’d need to edit my plugin (the Javascript in the head). It makes it no more than 95% tall and 95% wide.
Thanks, you rock!
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!
Which lightbox theme are you using? The default one (#1) ?
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.
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.
I know that but it did work before without the “opaque” property and it does not work now even with it
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.
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.
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).
[...] jQuery Lightbox For Native Galleries [...]
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.
Sorry, but you’re on your own for that one. My plugin is only intended for the built-in gallery system.
Oopsy !
(
Thx anyway.
How do I go about getting the “description” to display for the pop up image? Thank you!
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
That is not related to my plugin (disable it and you’ll likely see the same thing). Your theme is malforming the [gallery] output.
You are right…I disabled you plug in and I see the same code…I am going to change or update my theme…
thanks for all
ciao from Italy
[...] 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 [...]
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
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.
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).
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!
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?
You’re welcome to use other plugins. No one is forcing you to use mine (which isn’t designed for single images).
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.
My plugin doesn’t use the rel tag to make the lightboxes. It looks for the [gallery] HTML output specifically.
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’.
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?
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.
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
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/
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.
[...] jQuery Lightbox For Native Galleries [...]
[...] ?????? (???? | [...]
beautiful ..! a cause that ahce not pull the plug is because we have installed “” in the heard.
Thanks a lot! I was looking for a plugin like this, and yours simply works.
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
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’.
Wrap in [php] or [code].
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!
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/
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.
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.
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’) );
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!
[...] jQuery Lightbox For Native Galleries ( Download – Demo [...]
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
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.
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!
I don’t have a clue either. I didn’t make any of the themes. Sorry!
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
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
Elegancka galeria
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!
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.
Got it. Thank you for the quick response.
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:
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.
My plugin does not create any galleries, it only makes the built-in WordPress galleries display the fullsize images using a lightbox.
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
All you need is [gallery] and that shows all images that are attached to the current post. If you want to show images attached to a different post, you need to specify the ID parameter.
http://codex.wordpress.org/Gallery_Shortcode
Thank you for all
Best Regards
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!
I’ve honestly never used Nextgen before, sorry.
thank you bout when i put on link download they back me to the home page
Looks like it’s time I switch out the buggy plugin I’m using to show the download link and download count.
Meanwhile: http://wordpress.org/extend/plugins/jquery-lightbox-for-native-galleries/
thank y
[...] ver ejemplo de uso aqui. Y pueden bajar el plugin para wordpress desde [...]
thank you for sharing the plugins. . .
I use it for my band site company. . . . .
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?
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?
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!
[...] Shared jQuery Lightbox For Native Galleries « Viper007Bond.com. [...]
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
I can’t help you without a link to a post/page on your blog showing the issue.
Thanks for your help…I found a problem between the integrated gallery of wordpress and my post.php template…so it’s not jquery lightbox related.
thanks
[...] 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 [...]
[...] 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 [...]
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?
I’m using Theme #1 (the default theme for my plugin).
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!
You could probably do that with Javascript or maybe CSS.
yea I tried the codes I found in google but none of them worked.. it appears that it only works for Lightbox 2.0 for now and not the Lightbox for Native Galleries
It has nothing to do with the lightbox. WordPress’ built in
[gallery]shortcode outputs multiple images. This is what you need to fiddle with. I was suggesting hiding all of the images but the first one using CSS.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.
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_galleryorwp_get_attachment_linkfilter. Look atgallery_shortcode()in/wp-includes/media.phporwp_get_attachment_link()in/wp-includes/post-template.php.Has anyone come up with a fool-proof way (for this admitted fool!) to use this with the latest version of NextGen?
Thanks!
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.
The image’s title attribute is used for the lightbox caption.
Yes, and it works nicely on the gallery, but for some reason it does not show up on the enlarged single image…at least on my version.
[...] Check out live demo [...]
[...] You may have heard of lightbox and now it has come to WordPress, but only for native gallerys. Click here to visit the website. [...]