Slimbox Wordpress Plugin
Wordpress plugin used to overlay images on the current page into neat Javascript-powered overlay popups.
Because Slimbox was designed to be 100% compatible with Lightbox, you can just replace the Lightbox 2 Wordpress Plugin whit Slimbox Plugin and your Lightbox effects will work just as well as before.
Use the
title attribute if you want to show a caption. Click on the images below for an example.
Installation
- Upload slimbox-plugin folder to the /wp-content/plugins/ directory.
- Activate the plugin through the ‘Plugins’ menu in WordPress.
- Add a rel=”lightbox” attribute to any link tag to activate the lightbox, or rel=”lightbox[roadtrip]“ for image set.
- Optional: Use the
titleattribute if you want to show a caption. - If you want to add automatically the lightbox effect to your post’s images, open lighbox.php and remove the comment ‘//’ from lines 21 to 24.
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 1.3 (22-08-2008)
Update Slimbox to version 1.64
- v1.64
- Fixed a bug where in some cases, Flash animations inserted using SWFObject would not show properly after Slimbox closes.s.
- v1.63, requires mootools >= 1.2.
- Updated code for mootools 1.2.
- Slimbox is now fully compatible with Opera 9.5 and quirks mode web pages!
Version 1.2 (09-06-2008)
Update Slimbox to version 1.52
- v1.52 (2008-06-08)
- Added the “loop†option to allow navigation between the first and last images of a Slimbox gallery, when there is more than one image to display.
- Fixed a bug which allowed to change the image while Slimbox was closing.
- API: The Slimbox elements functions now return “this†to allow chaining.
- Small optimizations.
- v1.51 (2008-05-30)
- Fixed an error which occurred when Slimbox was used in combination with SWFObject in Firefox. Also fixes a memory leak in Internet Explorer.
- v1.5 (2008-05-23)
- Most of the code has been rewritten with a new approach. It s now much smaller! (4kb)
- Added the “overlayOpacity†option to specify the level of opacity of the overlay.
- Added the “counterText†option to specify a custom or localized counter text.
- Slimbox does not take up any space at the bottom of the page any more in some browsers.
- Now Slimbox does not wait for the caption animation to complete before enabling navigation. So you can navigate faster between images.
- Keyboard events are now captured when Slimbox is open to prevent page scrolls when using the arrow keys to navigate.
- You can now have two times the same image in an images set.
- The CSS file now includes Z-index definitions that are required if your web page design relies on elements with Z-index.
- The provided GIF images are now smaller.
- API: Slimbox now extends the Element and Elements classes. You can now associate a Slimbox gallery to any group of link elements using $$(elements).slimbox([options]).
- API: You can now specify different options for each group of link elements where you applied the slimbox([options]) function.
- API: When you call slimbox() on elements, you can now specify an optional filter function and an optional mapper function for maximum flexibility (see documentation).
- The Lightbox compatibility code is now fully optional. It s implemented in a few lines using the new API and a filter function.
- API: The main entry point has been renamed from “Lightbox†to “Slimboxâ€
- API: Lightbox.show() and Lightbox.open() have been merged into Slimbox.open()
- The Slimbox distribution now includes mootools, an example page and a Readme file.
Version 1.0 (29-07-2007)
First version.
Download Slimbox Wordpress Plugin
If you appreciated this plugin or my support, donate me so i can buy a cup of coffee, tnx u!

Ricevi gli aggiornamenti di 4mj.it via Feed
344 commentiLascia un commento
Hi! I’ve been using the slimbox plugin for a while, and i really like it.
In case it may interess you, i’ve slightly modified it, to load the mootools libraries from the google content delivery network, instead from my website, to have faster downloads and more downloads in parallel.
I think that this might be an advantage.
Good work!
[...] mit lightbox [...]
[...] blog, no mess, no fuss. To make use of the lightbox functionality, you will need a lightbox plugin (like this one – no relation). By Kieran [...]
[...] slimbax [...]
HI,
how can I make that when I upload 10 pics at a time and post an WP gallery, that the pics in this gallery have the lightbox effect?
I already removed the comment slashs // in slimbox.php.
[...] Slimbox WP Plugin [...]
[...] Slimbox WP Plugin [...]
[...] Demo: Ver demo. [...]
[...] Slimbox WP Plugin [...]
[...] Slimbox [...]
this plugin breaks with this error in Flash 10:
Error: Error #2176: Certain actions, such as those that display a pop-up window, may only be invoked upon user interaction, for example by a mouse click or button press.
at flash.net::FileReferenceList/browse()
at SWFUpload/SelectFiles()
at Function/http://adobe.com/AS3/2006/builtin::apply()
at flash.external::ExternalInterface$/_callIn()
at ()
is there a work around?
Hi,
I found out how to make galleries show a lightbox. In line 22 of slimbox.php, change the number 2 to 11, which makes the filter be executed later.
[...] gibt. Man muß nichts am Quellcode irgendeiner Datei ändern. Ich habe nur das alte “Slimbox Wordpress Plugin” gegen das neue Plugin ausgetauscht, fertig und schon funktioniert “WP Ajax Edit [...]
[...] Slimbox Plugin — προτιμώ το mootools, τι να κάνουμε! [...]
[...] Slimbox : La version de slimbox pour Wordpress. [...]
[...] werde ich mich mal mit Slimbox versuchen, sofern ich überhaupt noch Gefallen daran finde Share this on del.icio.usStumble upon [...]
[...] Slimbox [...]
[...] Slimbox WP Plugin [...]
[...] Slimbox Plugin 1.0 [...]
[...] Slimbox – visar dina bilder som ett lager ovanför din hemsida. Den är liten och snabb och smidigt att hantera. [...]
[...] Lightbox هست. شما می تونید برای مشاهده نحوه کار این اسکریپت به این آدرس رفته رو روی یکی از ۲ تصویر موجود کلیک کنید. – نحوه کار: [...]
[...] Slimbox Wordpress Plugin ここからDLしなくてもプラグインから検索できるんですけどね… [...]
[...] Slim Box [...]
hi,
i would like to use your plugin, but it doesn’t works on my site, picture arrives as link a single link.
i don’t understand, because it works with “WP lightbox Plus” plugin.
my pictures are not on the same ftp than my site, could it be the reason ?
my code is like this :
exemple of page who works with “WP lightbox Plus” : http://www.vivalille.com/2009/08/24/images-du-jour-45/
thx for support, and sorry for my english :/
I’ll be try it thank you~~!
this page is very Important
thank you with wordpress plugins
For those wanting this great plugin to work with the built-in Wordpress gallery functionality, a small change is needed.
Replace the entire line containing preg_replace (20?) with the following:
return preg_replace(‘//i’, ‘‘, $content);
You may also need to change
add_filter(‘the_content’, ’slimbox_create’);
to
add_filter(‘the_content’, ’slimbox_create’, 99);
Hope that helps
- Andy
Damn, my comment came through wrong. See http://dl.getdropbox.com/u/176745/slimbox-20090908.txt.
[...] Slimbox Wordpress Plugin [...]
[...] in Wordpress (has to do with the javascript libraries they use). My current workaround is to use Slimbox as an alternative to lightbox until the problem get’s fixed (or until I fix it myself [...]
[...] ついでに、Lightboxのプラグインも導入してみました [...]
Hi,
My problem is a have different sections with pictures in the same page, is there a way with the autoload to specify sets?
Or is there a way to prevent autoload in a single page?
thanks
[...] Slimbox Plugin 1.0 [...]
Do you plan to update your plugin with last version of Slimbox ?
[...] Manager 2.0 WP-Ecommerce Slimbox Wordpress Plugin Business Directory Header Image Rotator TDO Mini Forms Author Image Extra User Fields WP User [...]
Hi, I have tried making this plugin work, and got up to the point were the light box open´s up but then it does not load the image.
what could be the problem?
Cheers
[...] Slimbox Plugin [...]
[...] Slimbox Wordpress Plugin – bardzo podobny do Lightbox’a [...]
Thank you Andy, it works great !
Hey, how do I upload the intire folder? When I’m in the main folder and click open, it just navigates inside a new folder etc.
thanks for plugin
Hello,
How can I do to change the white background in another color?
I have tried to edit the slimbox.css but it doesn’t change anything.
Thanks for your help!
[...] Slimbox WP Plugin [...]













[...] Slimbox Wordpress Plugin: “Wordpress plugin used to overlay images on the current page into neat Javascript-powered overlay popups.” [...]