Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#31 2006-02-25 02:35:07

coffeepostal
Member
From: Anacortes, WA
Registered: 2005-09-06
Posts: 22
Website

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

I needed to upgrade to 4.0.3, I was running 4.0.1 on that blog, and it didn’t like the plugin, all’s well now!

Thanks Bastian for your help!

Offline

#32 2006-02-27 13:22:01

-jw-
Member
From: fruitbelly, the Netherlands
Registered: 2004-03-16
Posts: 79

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

Now that’s a nifty plugin, thanks very much bastian. One little question though.

In the caption I would like to have a link to the contact page (which states: like it? contact us or something). However a <a href="contact">contact</a> aint working. This link is partially placed outside the thumb and when clicking it, it opens the original image in the lightbox.

For me this would be a nice to have and nothing more. I can happily work around it. But if there is someone who knows how to achieve this, please let me know

thanks
- jw -


textile deletes my identity

Offline

#33 2006-03-09 15:57:01

rossharvey
Member
From: Earth. Sometimes.
Registered: 2005-03-16
Posts: 233
Website

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

I followed the install instructions properly and still can’t get this to work. I’m using TXP 4.0.3 and the latest release of this plugin (0.3).

When I click the thumbnail link the full sized image is shown (just the image, no overlay etc). It’s as if the plugin Javascript is being ignored/not working. Javascript is enabled on my browser.

Some help would be appreciated!

Offline

#34 2006-03-09 16:42:16

gdtroiano
Archived Plugin Author
From: Highland Park, NJ
Registered: 2005-01-29
Posts: 59
Website

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

It’s mentioned at the bottom of the instructions, thus easy to miss, but the path to the overlay png needs to be changed on two lines in the css.

Maybe that’s it?

Offline

#35 2006-03-09 17:23:04

Bastian
Plugin Author
From: Wuppertal, Germany
Registered: 2005-02-02
Posts: 376
Website

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

You have editet the plugin? In the first function you have to replace the xxx by images-id.

You included <txp:bas_lightbox_css /> into your head or you included the css from the bottom of the help into your css? With the changes cdtroiano mentioned?

Offline

#36 2006-03-10 08:12:08

lee
Member
From: Normandy, France
Registered: 2004-06-17
Posts: 831

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

Hi Bastian, another suggestion if I may: It would be good to have the option to display the alt and/or the caption below the thumb image. What do you think?
Have a good weekend,
Thanks,
Lee

Offline

#37 2006-03-19 04:49:23

Finnish
Member
From: Russia, Vladivostok
Registered: 2005-11-02
Posts: 13

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

the lightbox acts wierdly in Opera 9 build 8265.
anyone noticed same behavior?


have a nice day :)

Offline

#38 2006-03-24 13:08:34

maarten
Member
From: Netherlands
Registered: 2005-02-19
Posts: 130
Website

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

As this is related to the CSS supplied with this plugin I’m posting it here. The plugin’s CSS messes up my validation. Anyone experienced the same problem and knows how to get rid of it?

Line: 108 Context : * html #overlay

attempt to find a semi-colon before the property name. add it
  • Line: 108 Context : * html #overlay
Property progid doesn’t exist : DXImageTransform
  • Line: 108 Context : * html #overlay
Parse Error – DXImageTransform.Microsoft.AlphaImageLoader(src=“http://www.xpressit.nl/images/lightbox_overlay.png”, sizingMethod=“scale”);
  • Line: 109 Context : * html #overlay

Parse error – Unrecognized : }

Offline

#39 2006-03-24 13:43:58

Bastian
Plugin Author
From: Wuppertal, Germany
Registered: 2005-02-02
Posts: 376
Website

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

maarten, you are right. Lightbox CSS is not valid. Damm IE and its PNG support

But i dont know how to change that. Perhaps the IE & PNG should be handled by JS?

Offline

#40 2006-03-24 16:09:27

Skubidu
Archived Plugin Author
Registered: 2004-10-23
Posts: 611
Website

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

You could use conditional comments to serve the invalid CSS only to IE.

Offline

#41 2006-03-24 16:40:42

Bastian
Plugin Author
From: Wuppertal, Germany
Registered: 2005-02-02
Posts: 376
Website

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

If we think about valid and semantic markup and styling:
Comment-tag should contain comments.

So i would prefer the JS-method. If you come with IE and JS is disabled you get the large-image as link,
if JS enable, you see the large image in a Lightbox, managing PNG support with JS.

Offline

#42 2006-03-24 17:39:56

maarten
Member
From: Netherlands
Registered: 2005-02-19
Posts: 130
Website

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

I’ve searched the web everywhere to find a CSS solution but couldn’t find one. Don’t know if JS would solve it, goes beyond my knowledge.

Offline

#43 2006-03-24 22:23:13

Bastian
Plugin Author
From: Wuppertal, Germany
Registered: 2005-02-02
Posts: 376
Website

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

I’ve searched the web everywhere to find a CSS solution but couldn’t find one.

You didn’t find a valid solution to show PNG in IE, because there is none!
Microsoft didn’t implement the alpha-transperency.
You can use this <code>AlphaImageLoader</code> filter, but it’s proprietary and it’s function is limited.

Offline

#44 2006-03-24 23:50:06

soulship
Member
From: Always Sunny Charleston
Registered: 2004-04-30
Posts: 669
Website

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

Bastian,Maarten

Have you seen this plugin? It may be of service for what you are talking about. I have a copy somewhere in it’s original form if you would like to have a look.

Last edited by soulship (2006-03-24 23:50:55)

Offline

#45 2006-03-24 23:51:52

soulship
Member
From: Always Sunny Charleston
Registered: 2004-04-30
Posts: 669
Website

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

I’ll give it a shot…

<pre><code><?php $plugin=‘YTo4OntzOjc6InZlcnNpb24iO3M6MzoiMC4xIjtzOjY6ImF1dGhvciI7czoxNjoiSmFzcGF1bCBBZ2dhcndhbCI7czoxMDoiYXV0aG9yX3VyaSI7czo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