Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
[plugin] [ORPHAN] bas_lightbox (Thumbnail galery with unobtrusive javascript)
bas Lightbox
Version: 0.5
Download and Info [DE]
Download and Info [EN]
Summary
This plugin brings the Lightbox JS 2 by Lokesh Dhakar to textpattern.
Lightbox JS is a simple, unobtrusive script used to to overlay images on the current page.
bas Lightbox works with 4.0.4 and 4.0.5
Whats new in 0.5
- Less DB Usage
- Using a prototype-ultra.js
- Update to Lightbox v2.03.3
- Custom Field Support
Last edited by Bastian (2007-08-01 00:09:11)
Offline
Re: [plugin] [ORPHAN] bas_lightbox (Thumbnail galery with unobtrusive javascript)
Bastian, this rocks. Thanks so much!
Offline
Re: [plugin] [ORPHAN] bas_lightbox (Thumbnail galery with unobtrusive javascript)
very cool!!!
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Online
#4 2006-02-18 08:47:13
- Joey
- Member
- From: Netherlands
- Registered: 2005-01-19
- Posts: 257
Re: [plugin] [ORPHAN] bas_lightbox (Thumbnail galery with unobtrusive javascript)
Thanks great! I can really use this with some projects:D
Regards,
Joey
Offline
Re: [plugin] [ORPHAN] bas_lightbox (Thumbnail galery with unobtrusive javascript)
Excellent work, this will come in handy.
Offline
#6 2006-02-18 15:43:59
- lee
- Member
- From: Normandy, France
- Registered: 2004-06-17
- Posts: 831
Re: [plugin] [ORPHAN] bas_lightbox (Thumbnail galery with unobtrusive javascript)
Just amazing. Thanks.
Offline
#7 2006-02-18 18:44:59
- lee
- Member
- From: Normandy, France
- Registered: 2004-06-17
- Posts: 831
Re: [plugin] [ORPHAN] bas_lightbox (Thumbnail galery with unobtrusive javascript)
Any chance of an extra attributes called img_cat like:
<code><txp:bas_lightbox img_cat=‘friends’ label=‘On Vacation’ labeltag=‘h2’ wrap=‘ul’ break=‘li’ class=‘thumbs’/></code>
The idea being images could be allocated an image category. The image category could be used as above or entered in a custom field.
Thanks,
Lee
Offline
Re: [plugin] [ORPHAN] bas_lightbox (Thumbnail galery with unobtrusive javascript)
@lee
good idea, will be included in next version
Offline
#9 2006-02-19 17:42:45
- panik
- Member
- From: Bonn, Germany
- Registered: 2005-08-13
- Posts: 13
Re: [plugin] [ORPHAN] bas_lightbox (Thumbnail galery with unobtrusive javascript)
bastian, thanks for your plugin.
do you plan to add “next” and “prev” links next to the overlaid images?
can i easily swap the lightbox sript with lightbox plus? http://serennz.cool.ne.jp/sb/sp/lightbox/
Last edited by panik (2006-02-19 17:43:11)
Offline
Re: [plugin] [ORPHAN] bas_lightbox (Thumbnail galery with unobtrusive javascript)
Version 0.2
Added extra attributes called cat like lee suggested
<code><txp:bas_lightbox cat=‘friends’ label=‘On Vacation’ labeltag=‘h2’ wrap=‘ul’ break=‘li’ class=‘thumbs’/></code> Puts out all thumbs within categorie
Offline
#11 2006-02-20 18:36:42
- lee
- Member
- From: Normandy, France
- Registered: 2004-06-17
- Posts: 831
Re: [plugin] [ORPHAN] bas_lightbox (Thumbnail galery with unobtrusive javascript)
Cheers Bastian, I’ll try it out this evening.
Offline
#12 2006-02-20 22:27:56
- nardo
- Member

- From: tuvalahiti
- Registered: 2004-04-22
- Posts: 743
Re: [plugin] [ORPHAN] bas_lightbox (Thumbnail galery with unobtrusive javascript)
another good one bastian – thanks
can anyone confirm if class attribute is working? doesn’t seem to be anywhere in the generated code?
Offline
#13 2006-02-20 23:04:14
- lee
- Member
- From: Normandy, France
- Registered: 2004-06-17
- Posts: 831
Re: [plugin] [ORPHAN] bas_lightbox (Thumbnail galery with unobtrusive javascript)
Confirmed, the class attibute is not working.
Bastian, I’d like to make another suggestion, could a custom field be made to hold the cat please. For me this would mean a low tech user wouldn’t need to remember the tag syntax and could easliy create a gallery without any trouble.
Have to say this is probably the best image gallery plugin for TxP so far.
Offline
Re: [plugin] [ORPHAN] bas_lightbox (Thumbnail galery with unobtrusive javascript)
Thanks lee,
i could integrate a customfield for cat, but not as fast as cat integration. lack of time.
@nardo
Just a minute ago i checked the class attribute. it works!
I use the txp-own doWrap-function: You have to define a wraptag.
<code><txp:bas_lightbox class=‘thumbs’ ></code>
will out put no class, use
<code><txp:bas_lightbox wraptag=“div” class=‘thumbs’ ></code>
and the plugin will wrap the thumbs by an div with class thumbs
The attributes label, labeltag, wraptag, break and class are all empty by default.
Should they have an default value. For example a unordered list with class=“lightbox-thumbs” or something like this?
Offline
#15 2006-02-21 03:30:46
- dododi
- Member
- Registered: 2006-01-14
- Posts: 17
Re: [plugin] [ORPHAN] bas_lightbox (Thumbnail galery with unobtrusive javascript)
Great plugin. Thanks for all the excellent work.
I am also unable to find any reference to the thumbs class. are you able to provide the css for the class.
Also I can’t get overlay.png file working. Everything else seems fine but the overlay is not activating.
I have uploaded it and edited the plugin file but the overlay is not appearing. The “close” and “loading” images are appearing fine.
Any ideas on what I might be doing wrong?
Thanks
Offline