Content last modified Monday 6 March 2017
hop to #bottom
Current version:
About It:
Get it:
Rate it:
  • Helpful?
  • 2 Yes
  • 1 No
Flag it:

If you'd like to provide updated information and do not have access to directly edit, please contact the site admin; thanks!


This plugin brings the Lightbox JS 2.0 by Lokesh Dhakar” to textpattern. Lightbox JS is a simple, unobtrusive script used to to overlay images on the current page.

Just place a comma seperated list of txp image id’s into article’s image field and use <txp:bas_lightbox />
Or include them into the tag <txp:bas_lightbox img="4,8,71" />

Alternative you can define a category <txp:bas_lightbox cat="images"/> or used the custom-field support.

Article Request Count:
Posted here:
30 May 2006
Article modified:
01 Aug 2007

If there is a comment form at the Information URL, you may want to leave your comments/questions there or at the Forum thread for quicker feedback. Otherwise, comment away:

Commenting is closed for this article.

Commented (6)

I’m getting the following error when I install it on one of the blogs I’m testing it on, but not any others:

Fatal error: Call to undefined function: dolabel() in /home/httpd/vhosts/ : eval()’d code on line 44

Any help would be nice.

i hope you found some help, i just saw the comment here.

if not or if someother came along the same error:

doLabel is part of txp 4.0.3, so bas Lightbox won’t work with lower versions.

I install this plugin and it is so cool.

Hi the javascript and image files required for this plugin seems to have gone missing in action. I cant get the links on your site to work and the auto install doesn’t work either.

I noticed that the plugin adds a hefty 120+Kb to a page.

Maybe it would be worth rewriting this plugin using GreyBox it basically does the same as lightbox as far as I can tell, but it is only 22Kb.


Links to files and plugin on developer’s site are all broken. Advanced install from inside txp will fail. No response from developer for over 2 months now.

There is no point trying to install this plugin, it will not work.



Always I use this plugin in my txp sites, but I can´t understand the logic that it uses for sort the images.
Can somebody tell me please ?
Thanks so much

Subscribe to this article's comments RSS feed. [ ? ]   View Recent Comments across the site.

Would you care to write a comment or visit the forum discussion?

You know you want to visit the Archives.




There are also tag clouds, 'cause those are fun.
Published with Textpattern