DISCONTINUATION NOTICE:
Development on this plugin has been retired and discontinued in favor of Jetpack and it’s Carousel module, the same one that runs on WordPress.com.
In my opinion it’s a much better lightbox functionality and provides a better feature set than my plugin.
Description:
jQuery Lightbox For Native Galleries makes the native WordPress galleries use a lightbox script called ColorBox to display the fullsize images.
Download:
The gallery works fine on a post or page but why do I see the following in any excerpt:
#gallery-1 { margin: auto; } #gallery-1 .gallery-item { float: left; margin-top: 10px; text-align: center; width: 33%; } #gallery-1 img { border: 2px solid #cfcfcf; } #gallery-1 .gallery-caption { margin-left: 0; }
Any ideas. Thank you
That’s a part of the gallery HTML output. It’s unrelated to my plugin though. Your theme must be doing something weird I guess. Try posting on the WordPress.org support forums.
Hi, I install your tool in my blog and I have some problems.
If i use the Internet explorer, work’s good !
But if I use other browser like Opera, when i click in the image, the window of the picture close.
Do you know what I can do to fix this ?
Thanks and congrats for your work.
Hey all,
Need some help, colorbox mysteriously stopped working on my site and now it’s just linking to the JPG. Example page with the tiny thumbnails at http://www.wornmagazine.com/2010/06/activation-portraits-polaroids/.
When I view the source, as far as I can tell all the necessary scripts are in there. So I have no idea what’s broken. If anyone feels like tackling I’d really appreciate it. Also tried deactivating, deinstalling, reinstalling, reactivating, but that didn’t work either.
Josh
That happened to me too! I can’t think of anything that I’ve changed that would be the cause. Did you change anything in your theme’s function.php file or do anything with javascript? I made some changes but reverting them does not fix the problem
Actually the theme I’m using is called Manifest and doesn’t have a function.php file. It never has and the colorbox was working fine for months. I also never changed the functions.php file in the wp-includes directory and not sure I did anything with the JS that would have affected it.
Ok, it’s pretty weird that it just stopped working. I looked through the plugin really quickly and didn’t find anything that relies on external resources so unless there were local changes made the plugin should be working just as always. I’m right in the middle building my site but I’m pretty sure that I didn’t make any changes that would have made a difference. I’m at a loss as to how it could have broke suddenly.
Your blog is throwing the following Javascript error when a thumbnail is clicked:
I have no idea why. I’ve never seen that error before. Only thing I can suggest is reinstalling my plugin.
Or maybe temporarily disabling all other plugins and switching to the Twenty Ten theme to make sure it’s not some type of conflict.
Pingback: ForumKervan - Native Galleries
I like the way this plug-in works, but I’m having a problem with the text on the more narrow images overlapping: http://www.norapauwels.com/projects/plants-places. I’ve searched around for a fix, but haven’t been able to find one. Any ideas? Thank you!
Not sure what you mean — that page looks fine to me.
For me, the “gallery” functionality has stopped working entirely. Even if I remove your plugin and switch my theme back to TwentyTen, clicking on a gallery image simply opens a browser page that points to the image file in my uploads folder.
I’ve been installing an playing with all manner of plugins and themes so I suppose there might be a conflict somewhere. (?)
OK, a bit of disabling various plugins and… it seems that the plugin “Q and A” breaks the plugin jQuery Lightbox For Native Galleries.
Now then… I’ve been changing things so fast I no longer remember what “normal” is. What is the NORMAL behavior when clicking on an image that’s part of a [gallery] ?
Without any attributes set in the shortcode, the default functionality is to take you to a page on your blog where a larger thumbnail is shown. My plugin overrides that behavior and makes the little thumbnails link to the fullsize images. This is required for the lightbox functionality to work.
Our Lightbox have also stopped working. When clicked the screen turns black (background) but no picture is shown. This happened only a few days ago. When I test the pictures here on your site I see the same. I’ve tried in both Chrome and IE9beta.
awesome plugin, but doesnt work anymore, fullsize images dont load anymore, even in your own demo? seems like an issue with an external hosted library, but google api is online…
whats the deal?
None of my plugins use an externally hosted library and I’m not sure why my demo is no longer working. Weird. I’ll investigate.
Just had the same problem – it seems to be fixed now after I changed the Google JQuery library I was loading in my functions file to version 1.4.2 (from 1.4)
[php]
wp_register_script ( ‘jquery’, ("http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"), false, ‘1.4.2’, true);
[/php]
That seems to have mangled my code a bit….obviously there shouldn’t be an img tag in the middle of that googleapis url 🙂
Fixed your code and WordPress uses jQuery 1.4.2 too: http://www.finalgear.com/wordpress/wp-includes/js/jquery/jquery.js
Hi, I have a question, how to insert a link in the bottom of the lightbox (where the title and image number appears) to the original file? or a link to another page? can you help me please?!
Thanks a lot, the plugin it’s awesome!
Dani
I don’t believe the lightbox script I use supports that.
The plugin doesn’t work anymore, same as #416 and #417
It was wokring so great, if you can find a way to fix this. Thank you Alex.
The gallery was working just fine on my website and now it is not working. Not sure why it stopped. Any suggestions? http://kyleclouse.com/slideshow/
That’s very odd. There’s a Javascript error on your site but I don’t understand why it’s happening. Can you temporarily try disabling all other plugins and maybe even switching to the Twenty Ten theme to make sure it’s not a conflict?
Thank you! Their was a conflict with another plugin “Sexy Comments”
Is there a tutorial on how to use this? I am so confused on how to even begin the gallery. I have looked and looked on how to load the images so they appear as the thumbnail then when you click on them they would pop up but I just cannot figure it out.
Thanks
Angie
Just make a gallery and my plugin will do the rest. 🙂
http://en.support.wordpress.com/images/gallery/ (written for WordPress.com, but applies to self-hosted installs too)
Thank you for your answer. I finally figured it out last night after playing around with it. I kept thinking it cannot be this difficult and it is not.
I do have another question for you. Is there anyway to have a caption on the pop up image? I do not want it on the thumbnail but on the larger image. I am using it on a site and they would like to have the image linked to another website.
Thanks
Set the title (or is it the description? hmm). It’ll show up in the bottom left I think.
Hi Alex,
Have you find a solution to get this plugin working again – we really miss it.
To the best of my knowledge, this plugin works fine with WordPress 3.0.1.
Plugin update released. It fixes all known issues.
Alex –
The Demo on this page is launching the lightbox bezel and controls, along with image captions, but no image under MAC OSX 10.5.8, Safari 4.0.5. Working fine in same OS with Firefox 3.0.19.
Hesitant to upgrade. Any suggestions?
Pete
Yeah, it seems to be broken in webkit. Ugh.
I tested in Firefox (works perfectly) and IE (left aligned, but close enough), but didn’t test in Chrome.
I guess I’ll roll back the changes.
I’m not going to roll back the changes. The plugin works perfectly fine in WordPress 3.0.1. Colorbox is just not compatible with jQuery v1.4.4 which is currently included in WordPress 3.1 (unreleased at this time).
In short, it’s working fine in the latest stable release of WordPress. 🙂
i’m using this plugin, it’s very nice, but when i embed videos from youtube, that video show in the gallery with the images.. How do i fix that?
Thanks
A link to this happening would be helpful. 🙂
Pingback: WordPress Plugin Releases for 11/8 « Weblog Tools Collection
hi, thanks your pluging .but sir, i m don’t know about web design. so can you explaing how to add all funtion in wordpress. can you help me.
thanks
asanka
Sorry, I don’t understand. Try posting here instead: http://wordpress.org/support/
Hey Alex,
Love the plug-in by the way. I was wondering if there is a way to imbed comments into the photos. I know i can use the title and for the most part this works fine for smaller titles, but i’ve been trying to find a solution to add longer comments to my photos.
Forgive me if this has already been addressed somewhere, but i figure i give it a shot and just ask. I am a newbie to WordPress and have only been playing around with it for a couple weeks now, but so far it’s been great!
Thanks,
Greg
I think you’d need to edit the CSS to make more room or something. Long comments/titles tend to get cut off. 🙁
Pingback: Scrapbookers love us too!
Best lightbox plugin for WordPress native galleries so far!
Is not working on my site. I’m receiving this error:
$(obj).find(“a”).colorbox is not a function
Any idea????
The Colorbox Javascript file is failing to load. Without a link to your site, it’s hard to know why.
Your plugin works perfect. I wonder if it is possible to put adsense code or any other link in image navigation screen?
Not easily as far as I know.
Alex 🙁
does anyone have any idea how to do this? I want to put a image banner under each shown image.
hello!
please fix this great plugin for opera…. please!
thank you!
Alex, thanks for the great plugin! One question: now the title of the pic is being shown on the lightbox. Is it possible to change title to description, i.e. it displays description field of pics uploaded?
Thanks!
Not easily, no. WordPress generates that HTML and it’d require quite a bit of filtering.
Hey Alex. Been a while since I’ve looked at the updates but seems to be just getting better and better. I was wondering if you’ll incorporate some type of grouping?
Before, I think it was Balupton ed., we were able to do something like
[code]rel="lightbox-group1"
rel="ligthbox-group2"[/code]
I know with the current edition, we can do with
[code]class="lightbox"[/code]
Would be nice to have the functionality to group w/ the rel-tag, like…
[code]class="lightbox" rel="lightbox-group1"
or
class="lightbox" rel="gallery-2462"[/code]
Where the latter example uses the actual “gallery-id#” for the grouping vs. a random number. I guess a visual example would be good as well, you can check out this post… http://j.mp/dZ0E3i
Using the
reltag is an old antiquated method. Since this lightbox is jQuery-powered, you can just use selectors of any type.classworks better thanrelbecause it’s a purely presentational element.The
class="lightbox"lightboxing is done using this code:[javascript light=”true”]$("a.lightbox").colorbox({maxWidth:"95%", maxHeight:"95%"});[/javascript]
So you could easily make your own class and group them that way, or whatever. You could even stick the
<script>tag in your post so you can do custom groups.If you wanted to really use
relthough, it’d be:[javascript light=”true”]$(‘a[rel="lightbox-group1"]’).colorbox({maxWidth:"95%", maxHeight:"95%"});[/javascript]
Just an update. Seems this is working…
[code]class="lightbox" rel="lightbox-group1"[/code]
But this would be nice if it did…
[code]class="lightbox" rel="gallery-2462"[/code]
Where the latter is a single-image which was excluded from the gallery-thumbnail display, but should be included when the colorbox/lightbox has been activated for slideshow.
Hi, is there a way to make this work if you are using w3 Total Cache with CDN activated?
Thanks….
I wasn’t aware it didn’t. Why won’t it work?
I also don’t know why it won’t work. If i disable the CDN it works fine but when I tried to activate it, it does not work anymore.
work very bad in IE8 & jquery 1.3.2
Pingback: WordPress için jQuery Galeri Eklentileri
is there a way to include the ‘lightbox’ class automatically to for single images as you explain that could be done in the read me file? I could get it to add a class to the tag but bot to the tag.
Regards and thanks in advance.
Add this to your
footer.php:[javascript]<script type="text/javascript">
jQuery(document).ready(function($){
$(‘a[src$=".jpg"]’).colorbox({maxWidth:"95%", maxHeight:"95%"});
});
</script>[/javascript]
That’ll find all links that link to JPEG images and turn them into lightboxes.
Pingback: Wordpress – Imprescindibles | MasterBip.cl
This is good now.
Pingback: 35 Stylish And Modern WordPress Plugins Using jQuery UI « DownGraf – Your Graphic World
Hello I need to show other things such as images arround colorbox,
I need to place a banner for my client, he wants it below the image preview, so, below colorbox.. Any ideas of how can I perform this?
Nope, sorry.
Hi Viper,
I’m using your JQ Lightbox and I need to slightly modify it for a friend. They’d like to access a Gallery from a secondary page other than the page the gallery is located on. How would I accomplish this?
Well done on the plugin, it’s very simple to use!:)
You can include galleries from other posts and pages by using the gallery shortcode’s
idparameter: http://codex.wordpress.org/Gallery_ShortcodeThanks for that answer. I guess I need to explain the situation a little better.
I have a page with 4 images (one for each type of photo gallery, i.e. pets, weddings). I want it so when the gallery is clicked on, that image gallery pops up. This way all the gallery image thumbnails are not on that page.
Does that make sense?
Thanks,
Cathi
Better explanation:
Currently I have 4 images that link to 4 gallery pages. In each gallery page there is a native gallery.
The person I’m making a site for wants me to put all 4 galleries on the same page without thumbnails. But still wants the native gallery feature to be available so it’s easy for them to update their galleries.
Each of the images on the gallery page needs to directly link to their respective lightbox galleries without using or displaying thumbnails and not loading a new page.
The shortcode resource you game me was a big help in dislpaying each of the galleries on one page ( [gallery id="123"] [gallery id="234] etc….) Now I need to do it without relying on the first thumbnail of each gallery, and also without displaying the individual thumbnails. So a link from a static JPEG directly to the lightbox gallery pop up is what I’m trying to accomplish.
What I can’t figure out is what coding the I need to pull from the first thumbnail of each gallery and place in the link of each of the gallery images that pop-up their individual lightoboxes. When I pull of the source coding of the page it just shows the rendered links the thumbnails use nothing more.
Thanks again for the help! This one is a tough problem for me!:)
That makes sense, but you’d need custom code to do that. Sorry.
Okay, thanks for the help.
Hi Alex, great plugin !!
Is it possible to customize the thumbnails frame, maybe with a rounder one, like one of these for example:
[IMG]http://img593.imageshack.us/img593/6279/immagine2ji.jpg[/IMG]
Regards
That’s dependent on your theme and it’s CSS, not my plugin. 🙂
Love the plugin! Is it possible to make the thumbnail link to the medium or large image rather than the fullsize?
thanks!
I use a plug-in that I just discovered is preventing this plug-in from functioning. ISSUE: When I click on a thumbnail instead of the jQuery screen appearing the link takes me to the full size image.
The plug-in I am using relates to the navbar and dropdown menus. It prevents any top level navbar button that has dropdowns from linking to a page when clicked (forcing the user to choose from the drop down menu). My question is: Is there anyway to get both plug-ins to work together?
Here is the code from my custom.functions.php file:
[code]
function remove_clickable_menu_tabs(){
?>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript">
jQuery(function($) { // DOM ready
$(‘ul.menu ul’).each(function(){ // Find every sub-menu
$(this).prev(‘a’).attr(‘href’, ‘#’); // Set the link preceding it to #
});
});
</script>
<?php
}
[/code]
Hi Alex, here I am again …
I was trying to surf my page with IE8 testing your plugin and i had some problems …
Clicking on the thumbs in the gallery doesn’t show the picture but just a small white frame ( the frame borders ) without the image inside.
Check it out:
http://img6.imageshack.us/img6/3661/immagine1cw.jpg
What’s going wrong ?
Thank you !!
A
Thanks this plug in
Fantastically easy to use! Hats off to you.
works fine, but how to show full size image, I mean a bigger size for eg: http://www.cinefunzone.com/kollywood/south-actress-meera-chopra-aka-nila-latest-photoshoot/ So small than original image.
thanks in advance,
Hello-
Wondering how I would go about removing the “title” from appearing in the lightbox.
Thanks,
Cathi
Hi,
thanks for the great plugin.
After installing the plugin, I noticed that the attachment pages’ prev/next thumbnails no longer linked to attachment pages (url/?attachment_id=xx), but to the image files instead (../wp-content/uploads/…). I am not using attachment pages, but google seems to find them, so I wanted to fix this. And here is the fix:
in jquery-lightbox-for-native-galleries/jquery-lightbox-for-native-galleries.php, find:
[code]
// The lightbox doesn’t function inside feeds obviously, so don’t modify anything
if ( is_feed() || is_admin() )
return $link;
[/code]
change it to:
[code]
// The lightbox doesn’t function inside feeds obviously, so don’t modify anything
// MS-potilas: not in attachment pages (thumbnail links) either
if ( is_feed() || is_admin() || is_attachment() )
return $link;
[/code]
Pingback: Die Standard-Bildergalerie von WordPress nutzen | Elmastudio
not working in Chrome (at least this demo you have here, i have not tested it myself) – the black background appear, but with just loading icon and nothing then