Lightbox 2 Wordpress Plugin
Wordpress plugin used to overlay images on the current page into neat Javascript-powered overlay popups.
16-12-2008 – Version 2 is out! Now from settings you can choose background-color, overlay opacity, resize speed and automatically add the lightbox effect to your post’s images.
This plugin includes the new Lightbox JS v2.0.4 javascript written by Lokesh Dhakar and and was then transformed into a Wordpress Plugin by me. Use a title attribute if you want to show a caption. Click on the images below for an example.
- 29-07-2007 – See also the new Slimbox Wordpress Plugin, a 7kb clone of the popular Lightbox JS
- I added the digg it button, please DIGG ME!
Upgrade
- De-activate the plugin.
- Delete the old version `lightbox-2-wordpress-plugin` directory.
Installation
- Unzip the `lightbox-2-wordpress-plugin.zip` file.
- Upload lightbox-2-wordpress-plugin folder to the /wp-content/plugins/ directory.
- Activate the plugin through the ‘Plugins’ menu in WordPress, go to Setting->Lightbox.
- Add a rel=”lightbox” attribute to any link tag to activate the lightbox, or rel=”lightbox[roadtrip]“ for an image set.
- Optional: Use a
titleattribute if you want to show a caption.
Single example:
<a href=”img1.jpg” rel=”lightbox” title=”my caption”>thumbnail1</a>
Image set example:
<a href=”img1.jpg” rel=”lightbox[roadtrip]“>thumbnail1</a>
<a href=”img2.jpg” rel=”lightbox[roadtrip]“>thumbnail2</a>
<a href=”img3.jpg” rel=”lightbox[roadtrip]“>thumbnail3</a>
Tnx to my sister for the photos! Link me in your site!
Changelog
Version 2.0.2 (19-12-2008)
Some fixes
Version 2.0 (16-12-2008)
Background-color, overlay opacity, resize speed, auto-lightbox from settings.
Version 1.8.2 (09-06-2008)
Some fixes
Version 1.8 (14-03-2008)
Update Lightbox Js to version 2.04
- v2.04 – 03/09/08
- NEW – Upgraded Prototype from v1.4 to v1.6.0.2
- NEW – Moved label text into configuration for easier localization
- UPDATED – Code cleaned up. Respect for the global namespace and native javascript objects.
- FIXED – Caption displays as “null” when viewing an uncaptioned image after viewing a captioned image.
- FIXED – Clicking ‘close’ button shifts layout as link focus’ dotted line appears.
Version 1.7 (12-06-2007)
Update Lightbox Js to version 2.03.3
- v2.03.3 – 5/21/07 – Support for horizontally scrolling pages. Added updateImageList method for ajax’y pages.
Fixed xhtml validation
Version 1.6 (05-05-2007)
Update Lightbox Js to version 2.03.2
- v2.03.2 – 4/30/07 – Fixed animated gif support in IE/Opera.
- v2.03.1 – 4/18/07 – Fixed embed hiding. Overlay opacity var added to config. Image sets w/Imagemaps fix. Clearfix removed.
- v2.03 – 4/10/07 – Improved keyboard navigation. Animation off toggle. HidesFlash movies under overlay. Imagemap support. Valid CSS.
Fixed close and loading vars (Tnx to Anton Zhuchkov)
Changed “get_settings(‘home’)” in “get_option(’siteurl’)”
(Tnx to Luca Dentella)
Version 1.5 (06-05-2006)
Fixed close and loading vars.(see here if u have problem with close button)
Version 1.4
Fixed path’s problem
Update Lightbox Js to version 2.0.2
Centering in IE6 (any DOCTYPE) fixed.
Smoothed out resize transition.
Fixed layout issues caused by multiline captions.
Added keyboard navigation: N for next, P for previous and X for close.
Version 0.3
Single Images and Image Set

If you appreciate this plugin or my support, please donate to me so I can but a cup of coffee. Thank you!

Thanks to the donors:
- Per T Sovik
- Hoa Hua
- Spencer Harris
- Jan Herrmann
- Niels Emmer
- Sahar Alarayedh
Ricevi gli aggiornamenti di 4mj.it via Feed
1,511 commentiLascia un commento
With Wordpress 2.7 don’t work!!
[...] Lightbox 2 Wordpress Plugin [...]
[...] Lightbox 2これもド定番。画像リンクをlightbox風に表示するプラグインです。最近のアップデートで記事中に画像があれば、自動的にlightbox風に表示するオプションもついたりしてますます便利に。 [...]
山室大辅
[...] Lightbox 2 [...]
Hi
I was having problems with lightbox 2.02 working with wordpress 2.7 my solution to get it working with safari, firefox and ie
in version 2.0.2, lightbox.php -> line 48:
change: if ($lightboxoffmeta == “false”)
to: if ($lightboxoffmeta = “true” || $lightboxoffmeta = “”)
don’t just copy the text here as you get 66 99 “” which can break the code.
Thanks to everyone else who set me on the right path to correcting this problem and great plug-in.
[...] Lightbox 2 [...]
Mymoto, nicely done dude as your suggestion also fixed my problem too.
It might be worth adding this modification to the next official release of this plug-in unless anyone else has found it causes a problem elsewhere.
[...] http://wordpress.org/extend/plugins/lightbox-2/ [...]
[...] Lightbox 2 Wordpress Plugin (tags: lightbox plugins design webdesign graphics wordpressplugins) [...]
[...] 24 Lightbox2 Sitenizdeki resimlerin Lightbox efekti ile gösterimini sağlar. Link [...]
[...] Flexible Upload1.9 関連してLightbox 2 Wordpress Plugin [...]
[...] προηγούμενο post είχα αναφέρει τη χρήση του Lightbox 2 plugin που, χρησιμοποιώντας javascript, εμφανίζει τις φωτογραφίες [...]
no works in worldpress 2.7, PHP 5.2
[...] post, in which I implimented a new feature in the background — the Wordpress plugin entitled Lightbox 2. You’ll notice it by clicking on the images in that post. Since it’s a feature [...]
[...] Lightbox 2 – Genera miniaturas que al ser clickeadas muestren la imagen a tamaño real con el conocido efecto del script Lightbox. [...]
I have put your plugin, but I have added a photo, and then he see 8 photos instead of 4-5 and naytime I need to click 2 times on NEWXT button to see the next photo, so totally clicking 8 times I see 4 photos..
anyway thanks for plugin, it is super!
I have mentioned my other sites and the various changes but some thanks and acknowledgements are needed.
All three of my sites are running on Wordpress. Although known as blog software (and that it what it is in the default configuration) it is very ve…
The note from Mymoto above is correct. In order to get this to work on existing posts that have not been re-saved after Lightbox 2 Wordpress Plug activation, you have to update the code in line 48 as noted above.
The function get_post_meta() will return an empty string if the post meta for that key is not found (as is the case for all posts created BEFORE the plugin is activated). Updating the check for both false and null string accomplishes this:
IF 1) there is lightbox 2 meta-data for this post and the ‘lightboxoff’ value is set to false
OR 2) there is no lightbox 2 meta-data for this post, so assume lightbox is turned on
This is an excellent plugin, but to assure that it works for posts created prior to activating the plugin, the code needs to be updated.
// if ($lightboxoffmeta == “false”) {
if ($lightboxoffmeta == “false” || $lightboxoffmeta == ”) {
The third parameter for get_post_meta does not work like get_option (return the third parameter if no value is found). It only serves to indicate whether to return the data, if found, as a string or an array.
Again – great plugin!
[...] Lightbox 2 [...]
Ok, great plugin, but dont work on Wordpress 2.7!! Or i’am stupid probably!
[...] updating my other blog adidap to wordpress 2.7 I have noticed that the Lightbox 2 plugin stopped working on my older posts but was working well on any new post I [...]
[...] trying something new with this post – I’m trying out the Lightbox plug-in, which supposedly works with thumbnails. I’m doing this because the original image size [...]
[...] Lightbox JS Plugin – used to overlay images on the current page into neat Javascript-powered overlay popups. [...]
Awesome site, keep up the good work.
Hi there!
I was wondering if, by changing something in the css, js or php file,
there was anyway to use a fullsize image but to force lightbox to show only a width and height of 35% (for example) of that image
Please?
thanks for your help
[...] Lightbox JS Plugin : Plugin Wordpress que aumenta o tamanho de uma imagem vista em miniatura no seu site. Muito usado ultimamente pela sua versatilidade. [...]
[...] Lightbox 2 – Generates thumbnails that when clicked load in a lightbox. [...]
Hi there, I want to say thanks for the great lightbox plugin I’ve been using it since your first public release. Although now I have a small issue with the script, when someone clicks an image the image opens in lightbox but the whole background is no longer transparent it’s solid black, I tried changing the opacity and it makes no difference, any help would be appreciated.
Lee
[...] around and suddenly found the solution where nobody cares to look into- the comments section at the Lightbox homepage , thanks to http://www.mymoto.co.uk for the quick fix, it worked wonders! It’s really simple and [...]
[...] Wordpress to Wordpress 2.7 Added a plugin called Lightbox to the [...]
[...] Lightbox 2 (5/48) добавляет в ваш блог поддержку библиотеки Lightbox [...]
[...] Lightbox 2 [...]
[...] k2 allows that to be done. And site is enriched with most powerful plug-ins that include: cforms, Lightbox2, related posts, All in One SEO Pack for optimization and Shantz Wordpress QOTD for the useful [...]
[...] bei Host Europe ein WebPack M 2.0 bestellt. Nun wurde WordPress und die Plugins Contact Form 7 und Lightbox 2 [...]
[...] Lightbox 2 – Genera miniaturas que al ser clickeadas muestren la imagen a tamaño real con el conocido efecto del script Lightbox. Multi-Topic Icon – Te permite colocar un icono para cada categoría de tu blog. [...]
[...] Lightbox JS Used to overlay images on the current page. Can be used seperately, but also used by WP Picasa LightBox. [...]
[...] by Lokesh Dhakar and got transformed into a Wordpress Plugin by me. From settings you can …..read more Download Plugin! Version 2.0.2 Last Updated: December 19, 2008 Visit Plugin’s Home Visit [...]
[...] Lightbox JS Plugin – 为当页图片使用全新JS脚本的浏览方式,非常漂亮。 [...]
[...] Lightbox JS Plugin – per l’inserimento di belle gallerie fotografiche. [...]
[...] 2.0をダウンロードします。 Lightbox 2 [...]
[...] Lightbox 2 (5/48) . Have you seen a neat trick on some websites, where you press on the image, the whole page dims into the background and the active window or image pops-up to the front? If you don’t know what I’m talking about, just head to the plugin page and press on the images there. If you want such a trick on your blog, install the plugin. [...]
[...] Lightbox JS Plugin – per l�inserimento di belle gallerie fotografiche. [...]
[...] まず一番シンプルそうなLightbox 2 Wordpress Pluginというやつを入れてみました。 [...]
[...] plugin molto utili per migliorare la visualizzazione delle gallerie immagini: scarichiamo i plugin Lightbox2 e PhotoJAR Base, ed [...]
Hi. I love your plugin but I can’t see to get it to work. I’ve tried changing the *.php file as advised above but nothing happens still. Are you compatible with 2.7.1?
I have the plugin installed and configured on the latest version of wordpress and I can’t seem to get it to work at all
all the images on this post are supposed to pop up in lightbox:
http://www.softthoughts.info/?p=105
Please advise! I’d like to have this working!
[...] загружать на блог несколько картинок сразу. 74. LightBox 2 – это плагин добавляет эффект затемнения заднего [...]
Hi,
I can’t get Lightbox to work on 2.7.1 either. Is it me or is it not compatible?
Thanks
Pages: « 1 … 19 20 21 22 23 [24] 25 26 27 28 29 … 31 » Show All













[...] Lightbox 2: افکت زیبای نمایش تصاویر بر روی زمینه تیره شده سایت [...]