Return to Web Design


This is the home of the WP-Slimbox2 plugin which implements the excellent Javascript Slimbox2 written by Christophe Beyls utilizing the jQuery framework.

Check out the original Javascript page for a list of all the features, which you should be able to set from the plugin. I’ve also included the easing plugin to utilize the various enhanced easing functions if you so desire.

The most current version is the – Released May-04-2010.

Version 1.1.3  –
This release implements Slimbox 2.0.5, properly support WordPress 3.6.

WP-Slimbox2 requires WordPress 2.8+

Support is graciously being hosted by Ryan Hellyer at I’ll make an effort to stay apprised of any questions that may arise.

A more elaborate discussion of features will be provided shortly.

The demonstration uses all the standard settings except that the easing has been set to easeOutElastic.
Grouped Gallery:
If you place `rel=”lightbox-imagesetname”` into your image links (replacing imagesetname with a unique name of your choice) all the images with imagesetname will be linked, allowing navigation by hovering over the left or right side of an image (until you see next/previous) or by using the assigned key codes (the defaults are configured here – left and right arrows).
Single Images:
By not including an imagesetname the effect limits itself to the clicked image.

Azazel/Phillip Promo Shot
TAP Spring 04 103.jpg
TAP Spring 04 112.jpg

Why did I write the script?:

I wrote this script after attempting to incorporate my Gallery2 gallery with WordPress. I found the WPG2 plugin very helpful (though I’m still learning its ins and outs to it), and attempted to use it’s built in lightbox and slimbox effects with no avail. Seeing that it was supposedly compatible with other plugins that added those effects I tried all of the ones I could find Lightbox2, Lightbox2, jQuery Lightbox, and Slimbox (yes, two of them were called Lightbox2).

None of them were bad, per se, though I was especially disappointed by the lack of control offered by most of them (Though it’s possible this was the fault of the JS, and not the plugin).

Another major downside with most of them was that they used javascript frameworks that I wasn’t already using. My site currently uses jQuery for K2 and the Multi-level Navigation Menu, and I’d prefer not to bulk up the site with additional frameworks. jQuery Lightbox was the exception, but it has a big ugly “ad” for the plugin in the upper right when you use it. I didn’t want that.

WP-Slimbox2 User Guide

Sorry, the User Guide isn’t ready just yet, but I promise it’ll be up soon… [important]Until it is, use the support forums for questions![/important]


136 pings

Skip to comment form

  1. Hi!
    first off, thank you so much for doing this – it makes my photos look great!
    I am using it in combination with cleaner gallery on the minimatica theme.

    there’s one thing that bugs me a little and it’s the fact that it shows the full size of the image, even when they are huge. I was wondering if there is a way to tweak that by:

    a) specifying maximum width and/or height of image
    b) specifying a fixed image width and/or height
    c) making it recognise the monitor size/screen resolution and act accordingly.

    any ideas?

    thank you for any help/support/tips! maybe I’ve just overseen options or something, I’ve really just installed the plugin.

      • Greg on October 26, 2011 at 1:57 pm

      Please post questions to our support forums!

  2. Why doesn’t it show the flickr description in the caption of the photo in a post with several pictures when auto lightbox is on?

  3. this just seems so awesome.

    • Daniel on June 18, 2013 at 5:17 am

    Hi there!

    The Pulgin seem not to work with already posted pictures (pics that existed in the blog before the plugin was installed) or do I miss something??


      • Greg on July 2, 2013 at 4:39 pm

      Daniel, sorry for my late reply, but please post all support questions to our support forums! That said, it should work with existing pictures, but you may need to do some tweaking.

    • Nikolay on August 13, 2013 at 3:42 am

    I really like your plugin. But after upgrading to WordPress 3.6 plugin don’t working correctly. Photos filled with the background color. I think the reason is to update the library jQuery. I found that the library Slimbox 2 was recently updated to version v2.05 (2013-05-07):
    Could you update your plug-in using the new version of Slimbox 2.05?

      • Greg on August 15, 2013 at 2:44 pm

      Thanks for the info on the Slimbox 2 update. I can throw together a spot fix pretty quickly, as soon as I can find the time! A short term fix would be to just save that file over top the one included with WP-Slimbox2.

  4. Hi,

    I am currently building a site for a new client. The site is still under construction. I have utilized slimbox with other clients without any issues. With this particular client, when a thumbnail is clicked, the dark over lay goes over the whole screen including the slimbox popup window. Is there something wrong with my settings? They appear to be OK.


    • Carlos on August 27, 2013 at 10:24 am

    BUG ERROR in plugin 1.1.3 !!!

    • mariul on October 17, 2013 at 8:04 am


    I wanna know if its possible to change the border color to black ?

    Thank you.

    • kikibelux on November 30, 2013 at 7:21 am


    I did installed your plugin slimbox2, all is right !

    I used slimbo(1) pluging and with this pluging, all my sreen was black….

    Thanks for you work !

    • Thomas on December 27, 2013 at 11:21 am

    As the forum is still down will ask the question here in the hope of an answer.

    Been using this plugin for ages love it!!

    But … I want the lightbox on all my images across the site … but I want to over-ride it on only a few. So obviously I have ‘autoload’ set to enabled. But I have one or two images where I want the link to go to a new tab and not to open in the lightbox.

    I can not set ‘autoload’ to disabled as I would be adding the “rel=”lightbox” code to thousands of embedded images …going back over three years. Is there anyway of having a code to add to the url so that the lightbox is not activated on a specific image … does this exist? Or can it be added to future updates (something like “rel=”no_lightbox”)?

      • Greg on December 30, 2013 at 12:23 pm

      I need to update the plugin to point to the new forum (you can see it via Wp-Slimbox2 Support in the site menu).
      Use rel="nolightbox"

        • Thomas on January 18, 2014 at 7:24 am

        Brilliant! It worked 🙂

        Thank you … for an awesome plugin and your support !!

  5. Are the support forums still active? I’m getting a “headers already sent” error and don’t know where to find answers.

    • bilgi on January 7, 2020 at 3:16 pm

    thanks for plugin

  1. […] 2. WP Slimbox 2 […]

  2. […] : Add Lightbox functionality to your […]

  3. […] : Add Lightbox functionality to your […]

  4. […] WP-Slimbox2 (Version: […]

  5. […] 4) WP-Slimbox2 Plugin Link: […]

  6. […] WP-Slimbox2 (Version: 1.1) […]

Comments have been disabled.