Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#181 2006-09-01 00:11:44

pchristy
New Member
Registered: 2005-12-16
Posts: 8

Re: [plugin] [ORPHAN] bas_lightbox (Thumbnail galery with unobtrusive javascript)

I love Lightbox…thanks so much for offering this great plug-in.

I’m building a Textpattern site now using Lightbox, and it works correctly in Firefox 1.5 … but in IE 6 it just displays an image in a new browser window.

Is there a setting I’m missing?

Thanks again.

Offline

#182 2006-09-02 23:09:52

Boogenstein
Member
From: Wausau, Wisconsin, USA.
Registered: 2004-03-28
Posts: 56

Re: [plugin] [ORPHAN] bas_lightbox (Thumbnail galery with unobtrusive javascript)

Is there a way to use this plugin to open the lightbox image on the first load of the page? Sort of like a splash page idea but lightboxified!


“Keep a straight face and you’ll be laughing!”

Offline

#183 2006-09-08 18:17:28

squaredeye
Member
From: Greenville, SC
Registered: 2005-07-31
Posts: 1,495
Website

Re: [plugin] [ORPHAN] bas_lightbox (Thumbnail galery with unobtrusive javascript)

Has anyone had the next/prev/close images not show up because the id no. is missing from the output?

for example : <img src="http://localhost:8888/liberti.org/images/.gif"/>

(note the missing id before the .gif)


Offline

#184 2006-09-17 17:40:48

cbeyls
Archived Plugin Author
From: Brussels, Belgium
Registered: 2005-09-12
Posts: 136
Website

Re: [plugin] [ORPHAN] bas_lightbox (Thumbnail galery with unobtrusive javascript)

I like the idea behind this plugin. However, the Lightbox script (version 2) might be popular, it’s just badly coded. Javascript is suboptimal, CSS is ugly and does not validate. A big part of the javascript code is never used. A function is draining your CPU. And so on.

So, if you are interested, I just started at looking on how to optimize this to create the ideal lightbox which is visually equivalent to the original but with smaller and better code. The script will require moo.fx and the full prototype Framework. I will start with the improved code of Litebox.

Then maybe you can use my script instead of the original one to create a better plugin :)


My plugins : cbs_live_search (improved) – cbs_category_list – cbs_navigation_menu – cbs_gravatar (updated) – cbs_article_index – cbs_maintenance_mode (new) – cbs_section_language (new)

Offline

#185 2006-09-17 19:35:50

Consuetudinario
New Member
From: Chile
Registered: 2006-08-27
Posts: 6
Website

Re: [plugin] [ORPHAN] bas_lightbox (Thumbnail galery with unobtrusive javascript)

Cheyls a good idea for the plugin will be with a plugin tag (including an image id) it returns the thumbnail with a link to the original image.

Good luck

Offline

#186 2006-09-17 19:59:57

TNT
Member
From: Rotterdam, Netherlands
Registered: 2006-01-06
Posts: 256
Website

Re: [plugin] [ORPHAN] bas_lightbox (Thumbnail galery with unobtrusive javascript)

cbeyls: I would be very interested in such a plugin. But will you create a plugin or just optimize the code?


Prrrrrrrr

Offline

#187 2006-09-17 20:31:50

cbeyls
Archived Plugin Author
From: Brussels, Belgium
Registered: 2005-09-12
Posts: 136
Website

Re: [plugin] [ORPHAN] bas_lightbox (Thumbnail galery with unobtrusive javascript)

My objective is working on the javascript and CSS, not on a plugin. I think I’ve gained enough experience during the writing of cbs_live_search to do this. It should be compatible with any plugin that uses the original Lightbox, since Lightbox is really easy to integrate. I’ve not looked at the bas_lightbox code but I assume it’s pretty basic. What I plan to do personnaly is to hack the original Textpattern thumbnail tag so it uses Lightbox instead of a popup for displaying the full image. This is because I don’t like using plugins in articles (otherwise I have to change all articles when I change the plugin), so I use them only in templates.

What I like about Lightbox is the “unobtrusive” part that makes its integration a breeze, but it’s a shame that you need to break your CSS for it. Well, until now.


My plugins : cbs_live_search (improved) – cbs_category_list – cbs_navigation_menu – cbs_gravatar (updated) – cbs_article_index – cbs_maintenance_mode (new) – cbs_section_language (new)

Offline

#188 2006-09-17 22:49:17

rawtext
Member
From: Massachusetts, USA
Registered: 2006-09-13
Posts: 21

Re: [plugin] [ORPHAN] bas_lightbox (Thumbnail galery with unobtrusive javascript)

cbeyls, I noticed with your mods now I can right click the image and save as in Firefox. With the original lightbox the browser thinks you’re clicking the page and doesn’t allow you to save the image (at least that’s what it seems like for me).

Offline

#189 2006-09-17 22:53:11

rawtext
Member
From: Massachusetts, USA
Registered: 2006-09-13
Posts: 21

Re: [plugin] [ORPHAN] bas_lightbox (Thumbnail galery with unobtrusive javascript)

Quick question regarding this plugin though, Is it possible to include the articles body or other content in the lightbox image popup area?

Offline

#190 2006-09-17 23:57:28

cbeyls
Archived Plugin Author
From: Brussels, Belgium
Registered: 2005-09-12
Posts: 136
Website

Re: [plugin] [ORPHAN] bas_lightbox (Thumbnail galery with unobtrusive javascript)

Right-clicking on the enlarged image in Litebox or Lightbox does not work. This is because they display an invisible layer in front of the image. However, during the transition effect this layer is not shown so if you right click at this moment on the image, you are able to save it. I don’t know yet if I’m going to keep this behavior or change it.

And no, bas_lightbox cannot display other things than images. Some people have written an improved script to do that, though.


My plugins : cbs_live_search (improved) – cbs_category_list – cbs_navigation_menu – cbs_gravatar (updated) – cbs_article_index – cbs_maintenance_mode (new) – cbs_section_language (new)

Offline

#191 2006-09-18 02:10:37

rawtext
Member
From: Massachusetts, USA
Registered: 2006-09-13
Posts: 21

Re: [plugin] [ORPHAN] bas_lightbox (Thumbnail galery with unobtrusive javascript)

Why is there a div appearing over the image? Is that the div that dims the background?

Last edited by rawtext (2006-09-18 02:11:06)

Offline

#192 2006-09-18 03:14:24

cbeyls
Archived Plugin Author
From: Brussels, Belgium
Registered: 2005-09-12
Posts: 136
Website

Re: [plugin] [ORPHAN] bas_lightbox (Thumbnail galery with unobtrusive javascript)

No, it’s a div containing the “next” and “previous” images that appear over the main image.

Last edited by cbeyls (2006-09-18 03:15:28)


My plugins : cbs_live_search (improved) – cbs_category_list – cbs_navigation_menu – cbs_gravatar (updated) – cbs_article_index – cbs_maintenance_mode (new) – cbs_section_language (new)

Offline

Board footer

Powered by FluxBB