jQuery Lightbox For Native Galleries
Description:
Makes the native WordPress galleries use a lightbox to display the fullsize images. The lightbox used in this plugin is currently the jQuery lightBox plugin by Leandro Vieira Pinho.
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.
Images by Microsoft
Download:
- Download from WordPress.org (
downloads total)
Known Issues:
- The lightbox used in v2.x of the script doesn’t resize the fullsize images to that they fit on your screen. I didn’t realize this until after I released v2.0.0. I may have to switch to yet another lightbox script. Feel free to recommend any jQuery based ones you know (WordPress uses jQuery in the admin area and I like jQuery, so I’d strongly prefer to stick with it).









Hello,
I try your plugin. Good job.
But I should be a good idea, to fitt the size to the window!
CU
Carsten
Carsten Giesen on August 2nd, 2008 at 7:12 AM wrote:
Yeah, that’s the Lightbox plugin. I’m looking into alternatives.
Alright, here’s my results:
* The other jQuery Lightbox sucks and doesn’t do resizing either.
* Thickbox seems to require DOM (HTML) modification and is overly complex.
* Original Lighbox (v2) requires DOM modification as well and it doesn’t appear to do resizing.
Simply put you probably just want to upload smaller images. I’ll look into it uses the “Medium” version though.
Excellent work, I’ve been looking for this for some time! Thanks for sharing :)
After using it for a while, I found one small problem. If you have several posts with [gallery], all the pics will be in the slideshow, no matter what post you start it from. I feel that each slideshow should be limited to images on the current post [gallery]. Other plugins work by putting something like rel=”gallery[post-id]“, but i still haven’t looked at your coding. I’ll fix this on my installation, but i think it should be on the next release ;)
Thanks again
Yeah, I know. There are no easy hooks to do it though. I’m going to have to hook into
the_contentlate and then regex the final post output. A major pain.So I opted to just get this simple version out the door to see if there was any interest in it or if I was just wasting my time. ;)
Yeap, after looking at the code i realized it’s not that simple. The regex solution has some problems too; there are some themes (as the plaintxt ones – sandbox is often used as the base for many themes) that already put a “rel” tag on the gallery images. So it’s not just append a rel, one must also check if there’s already a “rel” inserted; i changed another plugin to do this, but the code was getting messy…
Anyway, there is interest in this plugin, i guess :D
jQuery Lightbox by balupton will NOT work with IE6 which, according to my stats, represents about the 65% of my users.
nikos on August 4th, 2008 at 2:38 AM wrote:
I don’t have IE6, so I can’t test. Even if I could though, the issue most likely is with the JS package rather than my plugin so there’s not too much I can do. :(
Any chance of supporting Lightbox 2 (http://wordpress.org/extend/plugins/lightbox-2/)? I find I like this version better.
Eric on August 4th, 2008 at 9:56 PM wrote:
Lightbox 2 requires adding
rel="lightbox"to all of the links. This is a major PITA. The JS package I’m using at the moment allows me to do it without any HTML edits.I’m going to be looking into it though.
I use this plugin (http://mdkart.fr/blog/plugin-add-lightbox-pour-wordpress/) with Lightbox 2 for posts. Maybe it has a new angle on getting the REL attribute added.
Eric on August 5th, 2008 at 8:18 AM wrote:
Yeah, that’s what I’m going to have to end up doing. Not terribly difficult, just a pain. ;)
Lightbox is ok, but I use Highslide JS all the time! Highslide is truly amazing and works everywhere. I’ve been using the WP-Highslide plugin along with Next-Gen Gallery, as well as the Highslide core javscript, coded into various pages of my themes. Would be great if this plugin would have support for Highslide as well…
» Highslide JS
» WP Highslide
Since I’m going to have to add
rel="..."support, yeah I’m thinking of just bundling a couple different scripts and allowing the user to choose.Definite interest!! This is exactly the way it should be done!
If you do decide to add highslide, or slimbox, or one of the others, please do that on an options page, not something that has to be jacked with on every post.
Resizing can be done via an image manager plugin – like Flexible Upload. I sure wish someone would come up with a plugin that worked as simply and effectively for inline slideshows.
Thanks for the hard work, looking forward to the upgrades.
KLM
This is a very nice plug-in. I like the way keyboard shortcuts provide additional navigation options. Thanks for your contributions to the WP world.
Chris Cavallucci on August 19th, 2008 at 7:13 PM wrote:
I can’t take credit for that as I didn’t write the JS package, but thanks anyway. :)
I’ve just noticed that on my site (and yours) there’s a popup for http://www.savethedevelopers.org which is due to the included JS. Were you aware of that?
A bit of a pain really… Am I missing something obvious?
James on August 20th, 2008 at 9:03 AM wrote:
I was aware that it was on my site (I added it to bug IE6 users to update), but no I was not aware that it was bundled inside of the plugin.
I’ll remove it. Thanks.
So, what’s the reasoning behind not using Thickbox?
Yes, it alters the DOM. It adds some nodes on activation so you don’t have to. I’m not exactly sure what you mean. Plus, it’s already bundled and used by Wordpress.
Here’s all you have to do to make an associated Thickbox gallery:
....
The rel attribute takes care of which image belongs to which gallery.
Seems pretty easy to me.
Also, I think you guys are thinking much too hard about how to go about adding the rel attribute. You don’t have to do any regex replacing or insertion. Simply replace the function that writes the gallery markup. This can easily be done through a plugin. I’d recommend looking into how the post_gallery filter is applied just a little bit harder.
Jason on August 21st, 2008 at 9:49 PM wrote:
That is very poor solution for forward compatibility reasons. Regex would be a much, much better solution.
I will be making the switch to a “rel” solution, but I’m busy with other projects at the moment, namely recoding Viper’s Video Quicktags from scratch which is literally like 150x as popular as this plugin (so it gets priority).
I do not think it’s a poor solution at all. It was anticipated by the developers.
// Allow plugins/themes to override the default gallery template.
$output = apply_filters('post_gallery', '', $attr);
if ( $output != '' )
return $output;
Do you think that taking advantage of pluggable functions is a very poor solution? It’s basically the same thing.
Jason on August 22nd, 2008 at 8:29 AM wrote:
Just because I can reinvent the wheel doesn’t mean I should. If changes are made to the gallery output, that means I have to update my plugin to match it. A major pain.
100x easier to just regex the links inside the gallery div. ;)
Hi people, I’m the author of “jQuery Lightbox (balupton edition)” which is being used in this plugin. I see that a few of you have been having problems or there are features that you would like added. Could you please post them on the plugin’s website under “issues” so that I know what features people want, and where people are having trouble – here is the link: http://plugins.jquery.com/project/issues/jquerylightbox_bal
Thanks, and hope you like this plugin. And thanks Viper007Bond for using my project – I will add a link on the plugins site.
Carsten Giesen, the resize functionality has been added in v1.3.0-rc1.
nikos, v1.0.1-final always has worked with IE6. v1.3.0-rc1 has re-added support for IE6.
James, this message is now optional in v1.3.0-rc1, and IE6 support had been re-added.
Viper007Bond, is the rel/grouping issue you are talking about something that I can help out with? If so, post an issue on the lightbox website and I can see what I can do.
Benjamin “balupton” Lupton on August 23rd, 2008 at 7:05 PM wrote:
Excellent. I’ll update. :)
Benjamin “balupton” Lupton on August 23rd, 2008 at 7:05 PM wrote:
I’m not sure if it’s my fault or an issue with the plugin. Here’s the description of my problem:
http://viper007bond.pastebin.com/f557d8e7d
Benjamin "balupton" Lupton on August 24th, 2008 at 2:08 AM wrote:
This should do the trick:
http://viper007bond.pastebin.com/m52eb4714
I install the rc1, but sorry, I didn’t see any differents.
Whats my error?
I omly copy the new files. Are ther some settings todo?
Carsten
Benjamin "balupton" Lupton on August 24th, 2008 at 2:08 AM wrote:
Oh, do an each! Ingenious! lol Thanks, I’ll try that out. :)
Carsten Giesen on August 24th, 2008 at 8:13 AM wrote:
Dump your browser cache? I dunno. I’ll be updating this plugin momentarily though, so you can probably just wait for that.
Okay, v1.1.0 is committed. It’ll show up on WordPress.org soon. :)
Thanks for the plugin. Saves me time =)
Any advice/pointers/URLs on how to extend this to include iframe and/or inline-content support? That or, and other plugins people found to be working happily beside it (that don’t take too much of a foot print)?
I’ve downloaded and installed this plugin (thanks) but I have a couple of issues:
1. I see no options menu within the admin area to stop the plugin from resizing images. How do I make the plugin *not* resize images. I have the gallery settings inside WP’s Admin area set to 900×1600 for “medium” images hoping this would prevent an auto resize. Am I missing anything?
2. For some reason, activating this plugin makes my theme align left versus centered. I am using the Paid Revolution themes. De-activating all other plugins and turning on this one makes the theme align to the left of the window. Any idea on where I should check to eliminate this issue?
Beyond that, this is the type of plugin I have been very much searching for, offering gallery navigation functionality I would have expected to be within WP by default. Any assistance you can provide would be appreciated.
3. How do I prevent the plugin from auto scrolling. I want it fixed to the top of the screen and show the original file size always… never the medium size or an auto resize. Is this possible?
Sherwin Techico on August 25th, 2008 at 9:50 AM wrote:
Thickbox, which comes bundled with WordPress, supports content in lightboxes. I don’t know how nicely it’ll play with other lightboxes though.
Robert on August 25th, 2008 at 12:38 PM wrote:
That’s because there isn’t one — there’s nothing to configure really.
Robert on August 25th, 2008 at 12:38 PM wrote:
This plugin doesn’t use the medium version, only the smallest one (for the thumbnails) and the fullsize version (for the lightbox). The lightbox script will resize the fullsize version if it is larger than the screen to make sure it doesn’t go off the sides of your screen.
Robert on August 25th, 2008 at 12:38 PM wrote:
Hmm, dunno what to tell ya there. My plugin doesn’t load any styling other than that to control the lightbox. Check out it’s CSS file — perhaps something is up in there.
Robert on August 25th, 2008 at 12:38 PM wrote:
Not sure, you’d balupton will have to answer that for you.
Benjamin “balupton” Lupton on August 25th, 2008 at 2:55 PM wrote:
There’s actually a fair bit of options for the lightboxes: http://www.balupton.com/sandbox/jquery_lightbox/jquery_lightbox/readme.txt
Viper007Bond, for all the requests on my side, could you forward the users to http://plugins.jquery.com/project/issues/jquerylightbox_bal so that I only have one place to check. That being said, I’ll stop checking the comments here after this post. Continue the great work.
Hrmm, I just tried to reply but it didn’t work…
Anyway, there is actually a fair bit of options available via the lightbox:
http://www.balupton.com/sandbox/jquery_lightbox/jquery_lightbox/readme.txt
I’m guessing if you wanted to you could add the wordpress config for these, and then convert it into a JSON array via php and then call $.Lightbox.construct([php echo $json_options;]); if that makes sense, if not, I’m sure you will be able to figure it out ;-)
Anyway, for all the requests for my project could you forward them onto here:
http://plugins.jquery.com/project/issues/jquerylightbox_bal
As it is becoming a little bit of a hassle for me having multiple places to check for requests. Cheers, that being said, this should be my last comment here, so continue the great work.
Benjamin “balupton” Lupton on August 25th, 2008 at 3:02 PM wrote:
Sorry, I had my “send to moderation queue if contains X links” set to 2. I’ve upped it to 5.
Benjamin “balupton” Lupton on August 25th, 2008 at 2:55 PM wrote:
Yeah, I used some of those already and I’ll probably eventually throw together an options page, but it’s just a lot more work so I haven’t. ;) Plus the majority of users won’t need to change any of those probably.
Benjamin “balupton” Lupton on August 25th, 2008 at 2:55 PM wrote:
Will do and you too! :)
Viper007Bond on August 25th, 2008 at 1:36 PM wrote:
Ok, thanks for the quick reply. Guess I will need to continue my search as the group I am with uses large scale models and all of us have large resolutions, and require the large images.
Ideally, we need a Lightbox style script that stays in a fixed position at top of the screen, and reveals the image in its full original size, and allows for scrolling. That is, absolutely no resizing of any kind. It’s too bad as I really thought my search was over :)
Are you aware of any script that offers those capabilities? The no resizing is an absolute requirement.
Robert on August 25th, 2008 at 4:31 PM wrote:
Just open a feature request here asking for the option to toggle large image resizing or not:
http://plugins.jquery.com/project/issues/jquerylightbox_bal
I suppose this will be a dumb question, but, is this plugin supposed to work at all for single images, or only for the gallery images/tags? I would love to only need one plugin for the lightbox effect.
James on September 2nd, 2008 at 4:15 PM wrote:
It only applies itself to galleries. Add this somewhere in your theme and it will make it do it to single images as well:
<script type="text/javascript">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(); }); });</script>THANKS! It works like a CHARM!
This is just awesome. I think wordpress should include this as default.
Tons and Tons of Thanks.
Robert on August 25th, 2008 at 12:38 PM wrote:
Ok ! For thowse who use Revolution Themes, or centred web site’s here is the solution at the “left align problem” :
In jquery.lightbox.packed.css find: html,body{margin:0;padding:0;height:100%}
and remove margin:0;
This will do the job. Tested in IE & Firefox.
Good luck.
James on September 2nd, 2008 at 4:15 PM wrote:
You can also use Add Lightbox plugin for that.
Will try it. Thank you for your genorousity. Looks good. Will save a lot of time.
No lightbox for me when clicking one of your images. Using Vista Home Premium, FF3.0.1. Also no lightbox shows up in IE7.06. Any ideas why this is?
tester on September 17th, 2008 at 10:14 PM wrote:
Are you able to view this URL?
http://www.viper007bond.com/wordpress/wp-content/plugins/jquery-lightbox-for-native-galleries/jquery_lightbox/js/jquery.lightbox.packed.js?ie6_upgrade=false&ver=1.3.1-rc1
strangely it does work today for FF. Not sure what caused it. IE6 en 7 are problematic… tnx for lookin in to it.
Not working with Safari on my Mac. Still a great plugin even if it doesn’t work on all browsers….
Alex on September 23rd, 2008 at 5:14 PM wrote:
Odd, I believe it works in Mobile Safari on my iPod Touch so it should presumably work on your Mac. Then again, Safari is the Internet Explorer of Macs so to say (i.e. it’s kinda crap), so I wouldn’t be too surprised if it really doesn’t work.
Sweet, I have been looking around everywhere trying to find a good jquery lightbox, I just used script.aculo.us Lightview for its ability to run images,video,html and others.
But I do like Jquery more and thickbox was looking a little dull for images.
Viper007Bond on September 23rd, 2008 at 7:05 PM wrote:
FYI, it works perfect on my Mac with Safari 3.1.2 .
Hi! I add ur plugin to my wordpress page, but i dont know if i need anything else to see the plugin, i need to install something else?
Thxs
Raquel
Hi
I have a simple question…I hope ..
How can I change the Font colour in the bottom info box with the close button and image title etc…. i want to make it darker and a little bigger
Ive been playing with the css files but it doesnt seem to work or change anything??
any help greatly appreciated
by the way great plugin
cheers
Dan
Raquel Toledo on October 9th, 2008 at 3:47 PM wrote:
http://wordpress.org/extend/plugins/jquery-lightbox-for-native-galleries/installation/
You don’t need to do anything else.
Dan on October 9th, 2008 at 4:03 PM wrote:
jquery.lightbox.packed.csscontrols all of that (you can edit the non-packed and then rename if you wish). Make sure you’re hard refreshing (control + F5) after making edits to avoid browser caching.interesting stuff
Great plug-in.
Is there any way to exclude the first image in the gallery? Mine is always a 70 x 70 thumbnail from a custom field and I don’t want that one included.
Also, is there a way to make the layout in the post 6 images wide instead of three?
Thanks for your help.
Don on October 13th, 2008 at 6:14 PM wrote:
Not without modifying my plugin.
Don on October 13th, 2008 at 6:14 PM wrote:
http://codex.wordpress.org/Using_the_gallery_shortcode
OK, go ahead and modify it. I’ll wait.
Just kidding. Thanks for your help. As you can tell, I’m still getting familiar with WordPress.
Thanks for the awesome plug-in.
Don
I’m trying to use the non-packed balupton lightbox js but i can’t get it working… can you put a non-packed edition of the js?
Regards!
Lucas on November 3rd, 2008 at 6:05 AM wrote:
A) Why?
B) Are you making sure to either name the file “jquery.lightbox.packed.js” or to change the path in the plugin? You need to make sure the include URL is still correct.
Viper007Bond on November 3rd, 2008 at 3:54 PM wrote:
I don’t know… Firebug doesn’t show any console errors but the modal window doesn’t appears… something is going wrong
No, why are you trying to use the unpacked version?
Because i want to change something in the code to adapt it to my needs….
Lucas on November 4th, 2008 at 9:17 AM wrote:
Okay, well it’s just a simple JS include. Dunno what to tell ya.
i used this plugin in my website http://www.iamkarna.com and it is working fine in FF, IE6, Chrome but not in IE 7.
There are some floating mistake. kindly have a look.
Thanks in advance.
- i am karna
You seem to have disabled my plugin, but I tested it on my blog with IE7 and it works fine. I’d imagine something in your theme’s CSS file is affecting it. I’m not sure what though.
how can I translate this plugin into brazillian-portuguese?
Hi…
Viper007Bond, exists some fix to IE6 problem yet?
i have tested in
ie7 ok
ff ok
chrome ok
ie6 fail (more than 70% of my users use this)
thanks
Hi Viper…
I recently downloaded this plugin for my WP template, uploaded it as per the instructions and activated the plugin. The theme I purchased creates thumbnails for galleries and when clicked on, is supposed to activate the lightbox.
When I create a new post and want to add pictures, I click on “add image” which is next to “add media” and I have the choice of either uploading images OR providing the URL to the image (not sure if this plugin prefers one or the other but…), I’ve been inserting images via the url….but it doesn’t work. Your page where I downloaded the plugin from provides next to no explanation as to how to make it work because it’s supposed to be very simple…right?
I don’t understand what I could be missing. The girl who designed the template and who used your plugin in her “demo” of the template asked if I had a wp-config file and a .htaccess file?! She didn’t specify why…do these files have anything to do with it?
Here is the URL of my site: http://karenmackiefotographics.com
Please help!!
My plugin is designed to only work on galleries rather than individual images, i.e. if you place “
[gallery]” into your post/page rather than<img src="...Then I have a real problem because it won’t let me upload images…the only way i’ve been able to get images to show is by URL…do you have any suggestions?
Sticking
rel="lightbox"onto the link HTML (the “a” tag) should make it work.You can also use a bit of JS to apply the lightbox feature to all images in your posts if you want.
Ok…so get this. When I tried uploading my gallery from a PC using Firefox…it worked. BUT…the lightbox isn’t working. I’m using Sarah Neuber’s W-PhotoStudio Template (http://wp2.sarah-neuber.de) for WP (which is fantastic) and after adding galleries she suggest replacing the[gallery]with this: [gallery columns="5" itemtag="div" icontag="span" captiontag="p"] in order to create columns of thumbnails. Once you click on the thumbnail the lightbox is triggered. It works great for her but not for me.
So…I’m now able to upload my pictures and have them set up as thumbnails but as soon as you click the thumbnails…the lightbox doesn’t work.
Can you think of anything? Thank you and sorry for the trouble!
Sorry…forgot to add that if you want to see my gallery in question, look to the nav bar at the bottom, click on “Portfolio” then on “Little Ones” and you’ll know what to do next…thanks!
Are you sure my plugin is activated? The plugin’s lightbox JS file is not being loaded, nor is it making the images link directly to the fullsize rather than the images being on their own page.
Yes it’s activated. I don’t know what to say…when I look at my plugin list…it shows as being activated. If you give me your email, I’ll send you my login info…i don’t mind.
Let’s take this to my forums: http://www.viper007bond.com/wordpress-plugins/forums/viewforum.php?id=25
hi, excelent plugin! a+!
but an error occurs when I try to use [gallery id='xx'] … all the pics of the blog appears…
what can i do?
sorry my bad english
Hora de Relaxar on December 5th, 2008 at 4:52 AM wrote:
I’m pretty sure my plugin isn’t at fault. This page’s gallery (at the top) is included into this post with no problems.
Not work with Google Chrome |o|
Hey mate, great plugin it works a charm, nearly… just a couple of Q’s. I need to exclude some of my pages from the plugin how would I go about that? I have wallpapers for people to download and don’t want them to open in the gallery, instead I just want them to open in a new window, I’ve tried adding target -”_blank” to them but this still doesn’t resolve the issue. Any ideas? Thanks
Hi it dont work with Google chrome.
jamesb on December 12th, 2008 at 7:19 AM wrote:
Currently not possible.
Only thing I can suggest is not using [gallery] and instead inserting the images one-by-one into your post.
Hey Viper..
Could it be that I’m still running WP 2.5? Does the version of WordPress matter?
Ok…I figured it out! I was running WordPress Version 2.5 and all I did was upgrade to 2.7 and that did it!!
Viper…You might want to add this in the upload instructions. It was quite frustrating to not know what I was doing wrong when all it was, was the version of WP I was running.
Charles
Ok…now that i have it working…lol…I have a question. Is there a way to disable the plugin showing the name of each jpg? Right now, centered directly below each picture in the description area, it show’s the jpg name without the jpg. extension showing. Can I disable this? If so…how?
Charles on December 16th, 2008 at 7:44 PM wrote:
That’s all controlled via the existing uploads window. Set a title/description, or clear it out. It defaults to the filename.
Hey ya, I got it working great except it’s opening every image with the lightbox, I don’t want this to happen as on the homepage it then links to every post on the page, and also when I have an image for a download wallper purpose it still opens in lightbox making it not saveable to the lamens out there, anyway to just make it work jsut on the gallery images?
chiz
Thank you very much. You are solved my problem. There are so many lightbox author. You are the best. Thank you.
I’ve used this plugin again and again. I’m very happy with the way it works.
Today I discovered that when used on a gallery uploaded on a page (page.php) instead of a single post (single.php) then it opens everything in the lightbox. Even the main navigation links!
Surely it should not be this way.
Any idea why?
Hi, it´s a nice plugin, but I have a problem. It works with WP-Galeries without problems, but in posts with included single pictures it don´t work.
Is this correct? Or have you a tip for me, why it don´t will work correctly?
I have try to work with 2 plugins (yours an lightbox 2) parallel, but then the single picture will be open from both plugins at the same time.
My blog works with WP 2.7, it ist an intranet-blog, so I can´t give an adress.
Hello, I am trying to figure out how to delete the “jQuery Lightbox (BAKUPTON EDITION)” title that appears with every image in the pop up window .. any help would be greatly appreciated.
I can not find the code anywhere in the js or other files. Thank you…
Installed and working nicely. Thanks for all your hard work!
Any chance you might someday display the caption in the popup, in addition to or instead of the image filename? That would be so dandy.
Jessi Hance on February 1st, 2009 at 3:36 PM wrote:
It uses the “Title” field. Fill that in and that text will show up rather than the filename.
Viper007Bond on February 6th, 2009 at 2:37 AM wrote:
Fantabulous!!! Thank you!
Falcon33 on January 27th, 2009 at 8:15 AM wrote:
Just add this into your css code and it should be fine. :)
#lightbox-overlay-text-about {display:none !important;
}
Doesn’t work with the latest WP release
Nico
Nico on April 4th, 2009 at 5:35 PM wrote:
I’m 99.9% sure it does work with WordPress 2.7.1. I’d test, but my blog is running WordPress 2.8.
If it doesn’t work at first, make sure you have
in your themes header.php file. Noticed this is needed as it worked in the default theme, but not my customized theme.not working with FF3 on osx. works with safari no problem. any thoughts why its not working in ff3? thanks
all working fine but how do I change options? specifically opacity — I can see the spec in my style inspector (0.9) but “opacity”is nowhere on the CSS… thanks
Matthew Ginop on April 9th, 2009 at 2:30 PM wrote:
Make sure we have what in our header.php file??? (code block didn’t fill in) I am also running 2.7.1
Jeff on April 22nd, 2009 at 2:36 PM wrote:
<?php wp_head(); ?>Mircea on September 8th, 2008 at 11:39 AM wrote:
THIS IS A GREAT SOLUTION! I WAS FACING THE LEFT ALIGN PROBLEM, AND YOUR SOLUTION SOLVED IT, SAVED ME FROM A LOT OF PROBLEMS… THANKS A LOT….
thanks for the left-align solution!
This plugin is gonna receive a recode and a Lightbox script switch soon. Stay tuned.
Viper007Bond on June 11th, 2009 at 1:22 AM wrote:
Ended up redoing it already. Should work a lot better now.
hi, I’m soo happy with your script, it looks great.. the recode and script switch are definitely for the better, thank you so much! I do have a little question though. before I upgraded to the new plugin, the pop-up would keep the photos all to the same size (within my screen resolution, which is 1024×768). Now though, it seems like it directly grabs the original file in the original size – resulting in some photos showing with a width of 1500px. is there any way (other than to resize the original file) to put a limit to the width or height the pop-up images can go? thanks in advance!!!! (I would re-upload some of my photos in smaller sizes if there was no way to do otherwise, but I was just hoping there’d be a hidden trick…)
It never occurred to me to check until after I released the new version. I have two very large monitors (1920×1200), so I never noticed that this new script didn’t resize.
I may have to go with yet another lightbox script as I looked and there doesn’t appear to be a way to tell it to resize. :(
Viper007Bond on June 11th, 2009 at 2:08 PM wrote:
What, exactly, was wrong with 1.1.0? It worked great and re-sized. AFAIK, it wasn’t broken. 2.0.0 doesn’t fire (at least on 2.7.1 Mu) so the image just loads in a blank page as if the plugin wasn’t there. Got any way to turn off the “there’s a new version” flag, so I don’t have to keep ignoring it?
BJ Johnson on June 12th, 2009 at 2:37 PM wrote:
The lightbox may have not been compatible with the version of jQuery bundled in WordPress 2.8. I’m not 100% sure, I just know that the lightbox stopped working on my blog a few months ago (I’ve been running 2.8 here for months).
I also didn’t like that it spammed you with the author of the script in the upper-right of the page. Ideally I want one that works exactly like the current one, but that resizes large images (I thought it did, but was wrong).
Hi concerning the last few comments….
version 1.1.0 worked better for me . I liked the resizing of images and also when you scroll down the page the image stays centred on the page.
The only thing I didnt like was the “it spammed you with the author of the script in the upper-right of the page.”
And your right the old version doesnt work with WP 2.8.
So for the time being Im sticking with WP 2.7.1 and the plugin 1.1.0
Any chance of updating in the future
Great plug in by the way
cheers
Dan
Does your plugin work with the K2 theme? I set it up on my blog and I tried it out but I don’t have any lightbox effects. Is there anything I need to do to get this to work or am I just out of luck?
Michael Romero on June 15th, 2009 at 8:30 AM wrote:
Nope. It loads posts via AJAX, after my plugin applies the Lightbox.
It’s likely possible to get it working, but I have no experience with K2.
Hi !
Thanks for your great plugin.
But i have one problem.
I installed the current release 2.0.0 of your plugin with wordpress 2.8
With Firefox and IE8 everything works fine. But with IE7 (Win XP SP3) i got a java-script-error and the image displayed in a seperate window.
Any Ideas.
Ralf Fuhrmann on June 16th, 2009 at 1:52 PM wrote:
Well what’s the error? :)
Hi !
I got a javascript error :
Code : 0
Line : 88
Char : 5
Desc : Identifier, string or number expected
Any updates yet for WP 2.8 and 2.0 of this plugin per chance? Thanks for the hard-work. If any, any temporary solution? TIA
Hmmm… is there a way to get the same behavior pre-2.0 in WP 2.8 were clicking on a thumbnail or an image (w/ rel=”lightbox”) would show a lightbox that is proportional to the viewport? TIA
Sherwin Techico on June 26th, 2009 at 5:37 PM wrote:
I don’t believe that lightbox script is compatible with the version of jQuery included in WordPress 2.8.
Old was Balupton yah? http://www.balupton.com/sandbox/jquery_lightbox_bal/demo/
The demo seems to be using 1.3.2 as well.