New Lightbox 2.5 plugin for Wordpress
Get the latest version here. Click a thumbnail pic to see it in action.
Lightbox 2 allows you to present images in a slick window, while darkening the rest of the page. It makes your site look professional, and adds very little to page load times. It does not require any browser plugins to work, and works on just about every web browser out there! When a browser doesn’t support javascript, your web site still looks and works fine.
The brilliant Lightbox 2.2 javascript/css was written by Lokesh Dhakar. I simply made it into a Wordpress plugin and added some options.
To install: Put the lightbox-2 folder in your Wordpress plugins folder, then activate it in Wordpress.
Implementing Lightbox on your site is easy: grab the lightbox-auto plugin by Mdkart which automatically adds this code to appropriate images! Or, if you prefer, manually add rel=”lightbox” to your thumbnail image’s href tag, or rel=”lightbox[groupname]“ to a group of related photos.
Features:
- Themes that determine the colours of the lightbox window. You can select from Black, White or Grey.
- No longer conflicts with any Wordpress themes! This means it looks right, every time. Unless you are using a theme called stimuli_lightbox… ;)
- This version works when wordpress is installed in non-standard locations, ie: /wordpress/ instead of /, whereas other Lightbox plugins break.
- Uses the arrow keys as well as P and N keys to navigate between images. The X and Escape keys close the Lightbox window, as does clicking anywhere outside the image.
- Minor cosmetic changes from the scripts by Lokesh.
Please read the readme.txt included with the plugin before posting a comment!





I still can’t get mine to work, I don’t know what I’m doing wrong. I added that extra plugin and still, not working.
http://www.roadlessunraveled.com/2007/04/20/what-are-you-thinking/
There’s no lightbox rel=”" in your image links. Why the extra plugin isn’t working, is anyone’s guess. I suggest emailing the author.
In the meantime, when writing posts and editing, click the code tab, and in the a href for the image, add ‘rel=”lightbox”‘ without single quotes. Lightbox will then work.
Am I adding it right?
http://www.roadlessunraveled.com/2008/01/10/warning-to-children/
It’s still not working but I may have added the code wrong.
It seems there is compatibility issue with WP 2.3.2. After installation the button does not show in the post editing panel and the only thing I managed to get on the options page is this:
Lightbox Appearance: \n”); $current_theme = get_option(‘lightbox_2_theme’); foreach($theme_dirs as $shortname => $fullpath) { if((file_exists($fullpath.”/lightbox.css”)) && (file_exists($fullpath.”/lightbox.css”))) { if($current_theme == urlencode($shortname)) { echo(“”.$shortname.”\n”); } else { echo(“”.$shortname.”\n”); } } } ?>
I’ve previously installed lightbox 2 on other wordpress blogs, but this time it doesn’t seem te work. The rel tag is being added by the ‘add lightbox’ plugin; but pictures are simply shown on a new blank page.
Any suggestions on what I might be missing?
regards,
Roel
same problem as pro01. have somebody already fixed it? problem is in wp 2.3.2 and also 2.3.1
Great plugin, this plugin runs smoothly on WP 2.3.2. Great job Rupert.
However, I was wondering why prototype.js and scriptaculous.js are loaded from the plugin directory? These 2 scripts are part of the wp-includes and loaded anyway by WP, right? When activating the plugin these 2 scripts are loaded twice. Is there a work-around to prevent this from happening?
Regards,
Dommy
Hi, is there a way to make the lightbox expand only to the max-width of the browser?
I’ve uploaded some large screenshots, that end up covering the width (and then some) of the viewer’s browser window.
Thanks! It works great, I think I’m running wp 2.1.3. I’ve been up all night trying to find an easy to use plugin that worked with what I had in mind. Though this doesn’t have a ton of features, the lightbox effect sure makes it look cool on my blog! :)
Kyle: Currently, no.
Jean, thanks for the kind words. Features will be added, but not terribly soon… I am in India and have little internet access.
Dommy: I’ll look into that. Good observation.
Roel: It sounds like the lightbox headers aren’t being added to your pages… link?
Robin: you seem to have it working now… phew!
Pro01: Is your site on Windows or linux? I’m trying to figure out why the code is not working for you or ostghost…
Hey, is there any way I can add descriptions to the images so that when they load up they’re displayed somewhere? I’d do it myself but I don’t know any Javascript. If you can’t do it yourself, a little hint as to how to go about it might help me do it.
Thanks for a great plugin!
PS: Is Internet access really so bad? There are internet cafés everywhere these days I thought. But then, I haven’t been to Ahmedabad in ages.
Lovely plugin! Thank you.
Have the same query as George… how can one display the descrption as well as the title. It’d be a GREAT additional option.
Thanks again
Peter
Love both Slickr and the lightbox plugin. There’s a slight issue when you use the slickr widget alongside the WPVideo plugin. When expanded, the images appear *behind* the videos (check my site for a demo). Any idea where it’s falling over?
Cheers!
George: I currently only have net access at school, and at school, I shouldn’t be surfing the web looking at/responding to comments ;)
Descriptions? If you add the description to the title, it’ll show. Other than that, I hope you are good with Javascript…
Are you referring to Slickr? I could hack Slickr to add descriptions to the title=”" bit(?)
Cus: Movies tend to clobber overlays… I’ll look into it, but changes won’t come soon.
very stupid instructions…
images in xhtml support an alt=”" and title=”" attribute. I’m not clear on what ‘description’ people are looking to add. Lightbox only looks at the title for info.
I changed the closelabel.gif in all the themes, but some people is still seeing the old one… that doesn’t exists any more! it’s not an issue of browser chache or anything like that… any ideas? can check this url to try: http://www.infoliga.com.ar/2008/01/28/mike-manciel-a-el-nacional/
It’s the browser cache. Over time things will sort themselves out.
Rupert, I don’t think that it’s a problem of browser cache… Some first time visitors see the old closelabel.gif although it doesn’t exists any more! Could be some kind of server cache that my hosting provider has to reset?
Thanks for your reply.
I have everything working fine, except the thumbnails. I upload photos into my WP page using lightbox-auto, but no thumbnails appear on published page, only full-size images. Do I need to manually create the the thumbnails and link them to the full size images, or are the thumbnails supposed to be automatically generated? Am using WP 2.3.2. Thanks!
I’m sad, I uploaded everything and activated the plugin and I add the rel=”lightbox” code but it will not work. I have tried deactivating all my plugins to see if that helps but it doesn’t. I’m not sure what I am doing wrong. I didn’t change the folder name (I uploaded it under my plugins just as it was) and I have changed nothing. I am running on Wordpress 2.3.2…what am I doing wrong?
Rupert, apparently the problem is gone, and the custom-made closelabel.gif is shown in every browser. The reason remains a mistery, but it has nothing to do with your great plugin. Thanks again.
Mike: Yes, you do ;)
Nicole: link?
http://nonsensicality.net
sorry :)
there are images are the very first page that should work with lightbox and they don’t
same goes for http://nonsensicality.net/wordpress/?page_id=101
Hi,
great tool, thanks.
But is there a way to get it work with Articles which reside on more than one page?
I have some in my Code and all pictures look like this one:
especially, they have all this rel=”lightbox[8]“.
But I see only the pictures of the current page, never the other ones.
Any ideas?
Melanie: Lightbox grabs all pics on a page, looks for the rel, then adds them to an array. If the pic is not on your page, you can make a hidden link with rel=lightbox, and lightbox will grab it. Otherwise, no, Lightbox doesn’t work across pages.
Nicole: Log in to your site as admin, and go to Options-> Lightbox and set some defaults. Lemme know if that helps.
Rupert: Sorry, I forgot to say, that I speak about an article on several pages (with )
Aaaah… I mean this nextpage-stuff. (Don’t know how to write it here…)
Hi,
Awesome plugin (using with Slickr Gallery) but when the photo pops up, the link for “CLOSE X” does not work. You cannot click it.
See at http://www.nashvillesinglesdance.com/photos/
Any idea on what’s going on?
Thanks!
Hi! rel=”lightbox[groupname] doesn’t seem to work for me. Even though I have code for only 6 images on this page – the plugin says I have 9 images and repeats one image 3 times. I am using WordPress 2.3.2 and bunging my code in a text widget in the sidebar of K2 theme. Help!
Hello! I seem unable to get rel=”lightbox[groupname] to work properly. Even though I have code for six images, the plugin seems to think I have 9 and repeats one image three times when arrowing through the group. Help!
do you mean to like change the color scheme because that is the only option I have. I did, and it didn’t fix it :(
Found the solution to the repeating images in the slide show issue. Seems I was not terminating my ‘a’ tags. So I began ‘a href’ but was not finishing the conversation with ‘/a’. Silly me.
More importantly this plugin is fantastic! It plays nicely with Postie plugin so I can e-mail in my picture posts. After e-mailing in my images Postie re-sizes the image – then Lightbox and Add Lightbox take care of the rest. Nice!
Ben – That’s slick!
Nicole, sorry my plugin is being such a pain… I’m not sure why it is not including proper pathnames to the javascripts and CSS. I can’t imagine why it does not work for you… I see you’ve hacked lightbox a bit and have it working.
Jason: No idea. You no longer appear to be using lightbox, either, so I can’t investigate.
Hello Rupert;
Thank you for the plugin, but…..is very frustrating to see how the two flashes of my blog are overlaying the lightbox. I’ve one flash in the header and another in the right sidebar.
What could I do?
:(
This is my website:
http://www.dedalos-01.net
Rupert. I used your plugin mostly successfully on bluehost. However I have moved over to my own servers they are windows 2003. Currently I am getting the error under the lightbox 2 that pro01 reported above.
== \n”); $current_theme = get_option(‘lightbox_2_theme’); foreach($theme_dirs as $shortname => $fullpath) { if((file_exists($fullpath.”/lightbox.css”)) && (file_exists($fullpath.”/lightbox.css”))) { if($current_theme == urlencode($shortname)) { echo(“”.$shortname.”\n”); } else { echo(“”.$shortname.”\n”); } } } ?> If in doubt, try the Black theme ==
It does render the black theme on the site.
Http://hh.jumapili.com (this is dev for hectichands)
You can see images of problems at this post
http://hh.jumapili.com/index.php/2008/02/08/slickr-problems/
Also it seems that in post although the plugin seems to work it does not render the images that it captures from flickr.
Also, in the post portion of the admin it does not show the
This is a wonderful plugin, but I’m noticing that it seems to conflict with another wonderful plugin AJAXed Wordpress (AWP).
If you have a lightboxed image in the extended part of an entry, and have installed AWP to provide an inline expand/collapse of the entry, then clicking on the link no longer opens lightbox but just takes you directly to the image link.
Has anyone found a workaround for this conflict?
Hi,
very nice plugin! I compared it to others, and I like this one best. Only one little thing: I don’t really like the navigation arrows when hovering over the right or left half of an image. I’d rather have small navigation links at the bottom, like seen here: http://jquery.com/demo/thickbox/#sectionc-2
Is this possible somehow?
Sorry, the above link doesn’t work as intended – click “Examples” -> “Gallery Images” -> “Demo” to see what I mean.
I just uploaded the latest version of plugin as an update… now i dont see the close lightbox button, as it.has dissappeared.
Roy: No workarounds come to mind.
Algal: Open my lightbox plugin and remove the links to javascripts. AWP likely has it’s own versions of these.
Ginchen: Make your own buttons, and edit lightbox’s CSS accordingly.
Therseus: Make sure the image got uploaded to your preferred theme’s sub-folder. Perhaps re-upload it.
It works…. partially. When I click the image, it starts loading the picture, but it seems to load a double image, and the “Close X” is partially covered. So I can’t get out of Lightbox. Here’s my URL:
blog.twoagespilgrims.com
On one of the sites i use it i re-uploaded it, and it works now. But in gallery on my personal site all i see is a black square when i click photo and then it gets stuck. Im using plugin with Nextgengallery.
pilgrim: That is your wordpress theme. Change it ;)
Therseus: Try my advice to Algal above
Hello.
Is one error in Lightbox2 Plugin.
If I use “`” (backward aphostrofe) (key under ~) in description of picture Lightbox doesn’t works.
Thanks for the heads up. To get around that stuff, you can find the html-friendly code for that character, and put that in the description.
& become &, ‘ becomes &apos, etc.
I have uninstalled gallery and plug in…and reinstalled…yet i get same error. The overlay only loads a square with no picture, and it locks up page.
What Rupart I am the only one who got no love?
Jumapili: Sorry, your post was about Slickr not Lightbox (this is a lightbox page) so I got confused. Also, Akismet ate your post… I had to retrieve it.
I’ll see if there’s a problem in the code that is causing it to be printed out instead of executed on Windows.
after installation, i got the error instead of the interface to edit the plugin option
Lightbox Appearance: \n”); $current_theme = get_option(’lightbox_2_theme’); foreach($theme_dirs as $shortname => $fullpath) { if((file_exists($fullpath.”/lightbox.css”)) && (file_exists($fullpath.”/lightbox.css”))) { if($current_theme == urlencode($shortname)) { echo(””.$shortname.”\n”); } else { echo(””.$shortname.”\n”); } } } ?>
Please help me Rupert
Thank you so much sorry I have issues with both… so I guess… I just consolidate…
P.s… I see the other post… There must be a windows… thing… If you need access to a windows server testing go ahead and email… I will set you up an account on my dev server.
pro01 and Jumapili and those who have the error in the option page of the lightbox plugin
go to file option.php in the lightbox-2 and in line 24 there is a missing “php” , add it so it become “<?php” instead of “<?” and all gonna be alright
my hellosss- Rafik
Rafik or Rupart… I am going to test it… on both a linux and windows server… I will post back… But if it works… Rupart will you included it in your your code so new dowloads won’t have the problem?
I have tested this fix… on both server… I would say it is a confirmed bugfix :)
W00t! I would love to include the fix. Sorry for the neglect, guys and gals, but I am teaching full time all day and honestly only have internet in school.
Grr!
Thats alright… I am going to repost my slickr problem over to the slickr side. I hope you can take a look at that… I am going to russia here in a few days and would love to have this widget working. Also.. I am President of North American Operation for http://www.aurigma.com I would like to talk to you about modifing you plugins to work with our flickr redo called flog http://www.olyflog.com/ this is the us mock we run it very successfully overseas now. Hehehe it appears I am in the image biz :)
Hi, Thanks for the plug in. Its kinda working only not for Internet explorer. But I’ve seen that your page works fine with IE. I’m doing something wrong, what can it be???
‘‘
‘‘
Here, this might help you get an idea
http://rooftoppeople.org/Test/wp-content/lightboxcode.jpg
Having to answer all these questions must be tiresome. I thank you in advanced.
I think I know wherein the problems lie… I’ll see what I can do, soon, hopefully ;)
Davo: Remove the space between lightbox and [norway]
That was it. thanks a Million. Loved the India pics by the way. I’m going there in about a months time, so they were specially intriguing.
Thanks again.
Can’t seem to get this plugin to work on my site-in-progress.
http://www.ibaguio.net/main/featured/mines-view-park/
Any ideas?
you have two rels on the same image… REL=”lightbox[MinesViewPark]” should maybe be deleted.
i keep removing it and it comes back all the time and places it right after the <a… tag. Could this be a 2.3.3 issue?
No…. you might have two plugins adding the rel= part to your image links, though.
Argh! It’s the theme… the plugin is incompatible with Branford Magazine. :(
Hi there. I just upgraded to wp 2.3.2 and have installed the newest version of lightbox 2.5 plugin ( /public_html/wp-content/plugins/lightbox-2)
I manually include the “rel =”lightbox” code and still cannot get it to work properly – supposedly it works on IE 6 – but in FF 2.0.0.12 it just opens the larger image on a new page. Am I doing something wrong?
Also I may be pushing my luck here ;) but I add the title=” ” tag and cannot see any of the captions .
thanks in advance.
My gallery worked fine yesterday, now the lightbox wont load images, all i get is the overlay and loader.gif then page locks up
OK – I seem to have fixed my problem. I’m using the gridfoucs theme on wordpress and the buzzfeed javascript code on the right hand column – this seems to conflict with the javascript used in lightbox. – so i removed the buzfeed code. anyone get both buzfeed and lightbox to play nice?
Hello – I also posted this question for mdkart, not sure where the prob is…
I had everything installed and working a while ago. I have not done any posts with pictures in a while so I don’t know when, or if, this is broken.
Question – Should lightbox work in a preview when a post is not yet published? If no then I’m good to go. If yes I have a prob.
I’ll leave it at that for now.
Lightbox will not work in Preview mode, as the Wordpress headers are not included when writing the post, and the headers are what link to the javascripts.
Hi – just installed Lightbox-2 and all works well in IE7. But there seems to be a conflict with the Piclens widget. The widget works fine but most times Lightbox fails to load the image.
On Firefox the image is opening on a new page. (My category tree isn’t working either)
Is it possible to add a link in the title of the image?
Very pleased with the plugin on IE7 – thanks.
I seemed to have solved my Firefox problem by deactivating and then reactivating my category tree widget.
Thanks so much for porting this to WP!
Awesome!
It works, only for the first post on the page that contains images. Other posts on the same page that contain images do not open with lightbox. WP-lightbox 2 does.
I’m able to click the thumbnail, but a box where the large image appears and the animation spins, however the large image never opens. I’m puzzled?
Got everything working, but I seem to be experiencing an issue with the overlay. Click the image in the post linked below and then scroll down…the overlay isn’t extending all the way down the page.
My Secret Superpower
Thoughts?
David: Photobucket might be the problem (in terms of speed). You site otherwise is working fine. The images loaded for me.
Patchchord: you site works fine for me. You’re not using Explorer, are you ? ;)
Yes. It’s only an issue when viewing with IE. Safari and Firefox look fine.
Is this a known issue with IE? My apologies if this has been discussed before.
Hmmm. yeah, I get that too with IE7…. *shrugs* ;)
The x’s will not close the box that pops up after clicking the thumbnail.
http://ishotcupid.com/?page_id=2
Hello,
http://www.seppetoremans.be/blog/
(click the image in the first post (laughing gas))
In Firefox: Everything ok.
In IE 6: The lay-over and image has moved to the left side of the screen, and doesn’t cover the whole page…
When I use the default theme (Kubrick) all looks fine in Firefox and IE alike. So there seemsto be a clash between my theme and the lightbox-script…
Any suggestions or ideas greatly appreciated.
first off, let me say that i love this plugin when combined with the slickr gallery.
is there any chance you could update this plugin to use the newest lightbox 2.0.4 version? it adds some new features that i would really like to use–the biggest one being that you can turn off the animations. i tried some other lightbox plugins, but they don’t seem to work with slickr.
What am I doing wrong?
Check this post please:
http://www.knxdt.com/2007/08/indice-contacto.html
Thank you for the support.
How do I remove the border around images when displayed i Lightbox without removing it from my theme?
http://mikaelulstrup.com
Problem solved.
http://wpthemetips.com/forums/comments.php?DiscussionID=504&page=1#Item_0
Rupert,
Great plugin thank you for your efforts!
Have you had any luck with getting it to overlay embedded videos?
JT
FYI Lightbox-2 doesn’t work if the site is also using the WP-CODEBOX plugin (http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/). When WP-CODEBOX is activated the Lightbox-2 plugin just shows images in the browser, i.e. the Ajax calls fail.
Thought you might like to know in case someone else is attempting to use both (I’m using WP 2.3.3).
Hi
Love the plugin but am getting some conflictions with my theme, could you point me in the right direction?
http://www.jamestenniswood.com/?cat=5
Cheers
James
JT: Yes. It turns out flash defaults to the top most z (depth) layer. If you google it, there’s ways to set the z-depth lower than lightbox. I don’t have any URLs handy.
It’s a common problem with an easy solution.
James: contact the theme’s author. He’s added some attributes to images that are wreaking havok on lightbox’s CSS.
Chris: thanks
Hi, i have a widget for nextgen in my sidebar, and light box then fetches all the images on the page? is there a way to exlude it looking in the sidebar?
Greetings,
I really like your plugin, and I have used it successfully on two sites–but now I’m having no joy.
The links for the JS and CSS are not being created. I suspect this might be because this install is not in th root directory of my site and I need to modify the paths in your code.
Any hints?
Adrienne: The paths are dynamically figured out. My wordpress install is not in the root of of webserver either, and I have no issues. You _could_ hard-code the paths to the scripts… take a look inside the plugin.
Mark: Ask the author of that plugin. The author has added lightbox rel tags to the links, which in turn is sending info to lightbox.
err, Lightbox doesn’t work in IE, and I’m not sure it ever has. Seems like the neg IE sentiment these days causes most developers to not even debug IE issues.
On this page, I get the same error as I do on mine. Click on image in IE, goes to direct link of image. It works in FF, but then again, what doesn’t.
I’d ignore IE if I could, but 85% of my users use it, so I kinda like to keep them happy, dispite their downfalls.
Tom: IE 6, or 7? I recall testing my site in both, and recall both working fine…
I appreciate the desire to get these things working in IE. Let me know what version(s) you are using and I will see what I can do.
great plugin… it works fine with me so far but i have on issue that isnt really from the plugin, but wanted to see if you could help me.
I have 2 last.fm charts on one of my sidebars, wich are made on flash, and when lightbox opens to show an image, the flash “movie” shows up on top.
I googled the problem and found some stuff about a wmode parameter and setting it “transparent”, but the code of the last.fm chart is really weird… i tried it but didnt work… any guess?
Hey Rupert. Firstly, thanks for the great work on this plugin and I hope all is well for you in Ahmedabad!
Secondly, further to Tom’s IE observations, I can confirm that my installation works fine in IE7.
Thirdly, and finally, I have read your previous thoughts and comments around the issue of displaying private photos and, whilst I appreciate your reasons for not enabling it, I really…*really*…want to be able to display private photos! I won’t bore you with the reasons why but do you think you could give me some pointers as to how I might be able to tweak your code to enable this? I’ve been working with slickr.php and have changed all instances of ‘privacy_filter’, ‘hidePrivatePhotos’ and ‘$hideprivate’ to ‘0′. This has resulted in the private images being cached (as seen under ‘Cached Recent Photos’ on the Options page) but I still get the previously mentioned error:
Warning: Invalid argument supplied for foreach() in [...]/slickr.php on line 234.
I know you’re busy so I’d very much appreciate just a few pointers then I’ll get on with it myself. Thanks.
I have upgraded to the newest version of Lightbox 2.5 and while it seemed to be working last night at one point, now it just does the overlay but gets no picture.
Also, when I tried to change the theme style last night, it did nothing.
Site is http://www.kristenleep.com
Thanks!
Well, I uninstalled it and there must be another one on my server because my images are still lightboxing even after deletion. Nevermind- must have been a conflict with my image inserter.
Jealous of you in India. Love your photos! Be safe and take care!
Hi there,
thanks for the great plugin. It is working fine but there ist one problem.
In my 404 Logfiles i’ve got some strange errors:
http://schraegschrift.de/wp-content/plugins/lightbox-2/lightbox2/‘+libraryName+’
There are several attempts to call this URL. This is naturally answered with 404.
Can you explain what kind of error this is?
Kind regards from germany.
Bless you!
Hey Rupert! I have successfully installed your wonderful plugin in my new blog. I just have one question. I have not been able to modify the size of the thumbnails shown in the post. I have set different values (WP 2.5 admin panel:settings:miscellaneous:image sizes) but the thumbnails remain exactly the same size. I use the “Add Lightbox” plugin and the DePo Skinny theme.
Is there a way to solve this?
Thank you very much,
Daniel
Could you share some light on how to solve this?
I’m sorry, never mind. It was just a silly error. Got it right this time. Thanks!
when I added the mootools framework plugin to my wordpress site all my lightbox2 images broke. instead of opening them as lightbox2 they just open in a browser window normally.
i have AWP installed as well as mootools. as soon as I remove mootools it works. any suggestions?
What a great plugin. I have installed it on my wordpress blog running version 2.5. I am also using the Add Lightbox version 0.3. I have no issues with the working end of the plugin, I have noticed that there are no titles or picture description under the photo. Is there something I have done wrong, thanks for listening,
TonyH
http://skate2stick.com
Hello,
i just can’t express how grateful i may be !
thanks a lot for this piece of work !!
i’m trying to find a way to always display the arrows that appear when the mouse pointer hovers the group-images ..
is there a way this can be done ?
thanks
Wolfius: That’s a flash issue…. flash ‘gives’ itself the topmost layer of Z-depth. You have to specify in the flash embedding code that the flash is to be a lower value. Google for the solution; I don’t recall specifics.
Dan: I’ll re-write the plugin to use wordpress’ included prototype and scriptaculous libraries. That way, when others do the same, our javascripts won’t clobber eachother.
skate2stick: add the titles to the . Descriptions are not currently supported (I think; it’s been a while since I looked at the code), although it would be trivial to add.
Flood: check the .css file in the lightbox directory. I personally can’t make the changes for you, as I am hella busy teaching 12 hours a day.
Ok i’ll check it out and try and play with the css
thanks for your reply !!!!
:)
If you get time, could I or we get the code Please :) Thanks again and great job on the plugin…
I think this has sort of been covered in other messages; the use of the title tag to display under the image.
When you add an image to a post the title tag that you supply is added to the image tag and not the anchor tag which is there Lightbox picks it up from (I’m using WP 2.5.1).
You can manually add a title to the anchor, but you couldn’t expect a novice Wordpress user to know how to go about doing this by using the html view.
Is there a way for Lightbox to pick up and use the image title rather than expect a title in the anchor tag?
I’m guessing the answer would be yes – by editing the Javascript, but I’m not too hot with JS.
Hi,
I am trying to use lightbox for the first time and having some problems… I followed the instructions, added rel=”lightbox” to one image but nothing happened, so then in Admin, I went to Options/Lightbox 2 and first got a couldn’t find options.php in wp-admin etc. so because I hadn’t uploaded anything to wp-admin, only to wp-content/plugins, I uploaded options.php in the lightbox-2 folder and am now getting:
Fatal error: Call to undefined function: get_option() in /home/u2/cpnational/html/ny/wp-admin/lightbox-2/options.php on line 9
This is the page I am trying to use lightbox on –> http://cpnational.org/newyork/?page_id=64
I would like to use this throughout the site if I can get it working. Thanks for any help!
i love this plugin, great job rupert. especially like that i can change background colors, as i’m not a fan of the white background that most lightbox versions use. and it works like a charm with lightbox-auto.
i too am having the same issue regarding captions not showing up underneath the photos. i know it’s set up to pull a caption automatically from the title tag, but that doesn’t work. any quick fixes you can suggest? (i’m going to begin writing a blog about film and the creative process of editing film, so captions will definitely help me get my points across, especially when i use multiple still photos.)
I’ve tried installing your plugin to no avail.
I’ve followed the instructions but the references to the javascript and css files are not appearing in my header.php file so it appears as though the plugin isn’t active at all??
Have you seen this before? Any ideas?
Install the entire folder into your plugin folder.
My problem: scrolling in the “close” and title area and winky box sizing, the background doesn’t extend past the right of the image or something weird. Click on my name for the link. It’s a personal blog, if you need more info, could you email me? I’ve used regular lightboxes on normal websites before and tried copying some of the css code to fix it, but this one is beyond me.
I have read all the comments (preceding this comment) and I still can’t figure out why Lightbox 2 isn’t working. I’ve installed/activated the plugin along with the auto plugin. I’ve viewed the HTML source and everything is in place where it should be (ie: the javascript). I’ve compared my html source with other sites that are using lightbox 2 and it’s the same — yet, it doesn’t work.
If you could view it at http://nsfw.codehelpers.com/can-you-say-owned and let me know what’s wrong — it would be greatly appreciated, thanks again -Rob
lightbox seems totally broken, upgraded to WP2.5.1, and lightbox 2.5.0.
See my blog, scroll down to phtos, and try clicking on them to see.
title, if it appears, is on top, pictures are broken up, just a mess.
I hate that I upgraded wordpress, as it was all working perfectly before. do I need to use the no-flash-uploader plugin to get this to work?
The background overlay is cut when the image is too long. Take a look at this (while it lasts): http://test.flirt-wind.net/gallery/2004-2005/
Thanks for updating it!
Excellent plugin but I also try to get rid off the 404 library error messages.
The theme I’m using needed the following code added to the header.php for it to work.
“
.. don’t think I can post the code.
.. basically it’s php wp_head .. if you google it you’ll see the code as it should look :)
Hi all!
As newly registered user i only want to say hello to everyone else who uses this site :-D
Hy my name is mnorgovudkka
Im from mongolia
Buy
Let me start off by saying that I’m a cat lover. I love cats.Indoor cats. Cats who are well cared for and loved.
Our next door neighbors, who are good people and we have no complaint about, are animal lovers too. They also have three cats. Outdoor
cats. Oh, and three dogs. Outdoor dogs. (Their back yard is maybe about 4/10’s of an acre?) Well, you can imagine that the outdoor cats
don’t feel like spending time with the outdoor dogs… why should they when they can so easily hop the fence and spend time in OUR yard?
Ordinarily, it wouldn’t bother me at all to have a cat roaming through our yard. I LIKE cats. But these guys are wearing out their
welcome.
Our poor cats stand at the windows unable to chase those cats off of their territory. We used to let our cats out every now and t
hen to chew the monkey grass or sniff around (they’re declawed… we have to stay with them to make sure they don’t escape). We
can’t anymore… the neighbor’s cats scent sends one of our males into a frenzy whereby he attacks our other cats.
We can’t leave our garage door up anymore (they pee in our garage). I can’t enjoy the birdfeeder anymore (they stalk the birds).
And just now, I went outside and discovered our yard smells like one of those crazy cat lady houses.
Our site the most qualitative source of the information on the mortgage, insurance of the mortgage,
tax deductions, stages of registration of the mortgage.
We are glad to you to present the fullest information on these themes.
Welcome to our site.
Hello to All the Guests and Members,
My computer worked not correctly, too much errors. Please, help me to fix errors on my PC.
My operation system is Windows 2003.
With best regards,
senereath
Thanks a lot for this great plugin. I’m using Version 2.8.2 on WordPress 2.9.1. But I have one little feature request. For better theming capabilities it would be great if you could add a class (e.g. “lightbox”) to the image tags.
This could be easily done by changing line 55 of lightbox2.php:
$replacement[0] = ‘ID.’]”>’;
What do you think?
Greetings from snowbound Germany
Christoph
Damn! Line 55-again.
$replacement[0] = ‘<a$1href=$2$3$4$5$6 class=”lightbox” rel=”lightbox['.$post->ID.']“>’;