Flexible Lightbox

WordPress has a simple way to handle images on your blogs: you can upload, organize and insert images on your post with just 2 or 3 clicks. The application also creates thumbnails and medium sizes images automatically and allows you to insert them as a simple gallery into your posts and pages.

Integrate into your front-end nice javascript effects like Thickbox, Lightbox, Slimbox , Milkbox, Lightview is a plus, but would be better if you don’t need to touch the html code for it. That’s why the CMS technology exists.

After developing the plugin Wp ThickBox Integration,  I decided to extend this features to “Lightbox” a cool jquery plugin to overlay images on the current page. In this case you can decide in the  admin “images setting panel” if you want to “Open your images using Lightbox”.

Single Image Example


1. Upload ‘flexible lightbox’ folder to the ‘/wp-content/plugins/’ directory
2. Activate the plugin through the ‘Plugins’ menu in WordPress.
3. And that’s it.


In this case I’m using the native gallery tag “gallery columns=3” with the default styles.


(The plugin needs to be updated to the last 3.5 version of WordPress)

DO NOT make a Donation:

– If you don’t find this plugin useful,
– If you don’t believe in the Open Source Philosophy,
– If you don’t want to make your day different,

Otherwise, consider to share a small amount  😉


213 thoughts on “Flexible Lightbox”

  1. I really like your overlay – I was wondering – do you know any way to mask images in the gallery insert? Like… say I only want the first x images displayed in the post, but once you get into the lightbox you can scroll through the full set?

  2. I’m implementing this for a client who isn’t very web websavvy and they tend to upload raw pictures which are enormous on the site. is there a way to constrain/resize the viewing images to a certain height and width to help with this issue? Thanks!

  3. My “Photos” page works well with your lightbox plug in, but I cant make the pics in my blog entries (my posts) open in Lightbox. I just get a white square ….. as if its going to work, and then a black ring of circles moving around. When I upload a picture, WordPress gives me a “Open Using Lightbox” option but when I click YES, it wont open. Any ideas?

  4. Howdy,

    I have installed this plugin on my website. The plugin works fine but the only problem is, in the popup image it doesn’t display the image number correctly. Any guesses why? Thanks!

Leave a Reply

Your email address will not be published. Required fields are marked *