2 john Jun 02, 2007 04:56

Thanks for the info John. It's a pity it doesn't seem to work, it would have been a really cool addition to Orlando...
It works for me?
¥
It works for me?
Blondes have all the fun
John wrote:
It works for me?
Blondes have all the fun
Ohhh yeah ;)
¥
I got it to work by changing
$replace = "<a href=\"\\1\" rel=\"lightbox\" title=\"\\8\">\\9</a>";
to
$replace = "<a href=\"\\1\" rel=\"lightbox\" title=\"\\8\">\\9<img src=\"\\1\" rel=\"lightbox\" title=\"\\8\"></a>";
in _lightbox.plugin.php
Hope this helps
J
in fact after a little bit of trial and error there's no need to do such correction:
i think the problem is that the instructions are not as clear as they could be: here's an example of what you can put in your post.
[lightbox http://library.thinkquest.org/05aug/00183/How%20Hurricanes%20Impact%20the%20Reef_image002.jpg [Great Barrier Reef]]<img src="http://library.thinkquest.org/05aug/00183/How%20Hurricanes%20Impact%20the%20Reef_image002.jpg" alt="sdf" title="Great Barrier Reef" width="25%" height="25%"/>[/lightbox]
Im using b2evo 2.1.0
Sometime this plugin open the picture in a new window, how can i solve the problem?
Sorry guys,
Where could I find this plug in ??? I need it there :
http://forums.b2evolution.net/viewtopic.php?p=63389#63389
catandtom,
I tested the lightbox plugin in a fresh 2.1.0 install. It seems to work for me. Are you sure that you are waiting until the page loads before clicking one the link? If the page isn't fully loaded then the javascript won't catch your click and there is, unfortunately, no way around it.
What basicly is the difference between lightbox 1 and 2 ????
Because in the setting, I found :
Use Lightbox2:
If this is checked then use Lightbox2. Changes take effect immediately.
[url=http://www.google.co.uk/search?q=Lightbox2&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-GB:official&client=firefox-a]Google[/url] first result tells yah the *improvements*
¥
Basically, Lightbox 2 has a bit more animation and allows you to have photo "groups" so you can click next and got to the next photo etc. But it runs kinda slow sometimes so I kept Lightbox 1 support around.
IanLewis wrote:
catandtom,
I tested the lightbox plugin in a fresh 2.1.0 install. It seems to work for me. Are you sure that you are waiting until the page loads before clicking one the link? If the page isn't fully loaded then the javascript won't catch your click and there is, unfortunately, no way around it.
Yeah, i got it. We can wait but blog's visitors cant, it will open another page and leave my blog, what a pity!
catandtom,
Sorry, unfortunately your choices are use it as is, or don't use it at all.
Yet another one of my totally novice questions. When I extract the files there is no lightbox_plugin folder to move to the plugins folder. It seems to just extract 3 folders and an index page to my desktop. If I make a folder for them and put them in there and pove to plugins theres no plugin that shows to install. Im sure Im missing something!
Nicca619,
Huh? I really think you are missing something. You downloaded lightbox_plugin-1.3.zip and unzipped it and there is 3 folders and an index page? That makes no sense. The lightbox plugin has no index.html or index anything. Are you sure you are unzipping the right file? What program are you using to unzip it?
I downloaded and tested the zip file just to be sure and it looks ok to me.
Sorry I can be a bit cryptic in my frantic state :)
So I have lightbox2.03.3.zip and I right click it and select "extract here".
I then get these folders"
css
images
js
and this:
index.html
and As Im typing this I think I might have figured it out. Do I need lightbox first then I update with lightbox 2?
Nicca619,
I think you are unzipping the zip for lightbox itself. You don't need to do that.
Lightbox is included in the lightbox plugin. Get the lightbox plugin from [url=http://manual.b2evolution.net/Plugins/lightbox_plugin]here[/url]. Install it and you should be good to go. Follow the directions on the lightbox plugin page to include lightbox links in your posts.
Ok I just want to say your not allowed to laugh or point at me!
I was trying to install the lightbox 2 zip! I assumed since it was 2 it was a better and more recent version. I didnt realize it was an add on to the original light box, which when I downloaded I had found the pugin folder there.
Its now all warm and fuzzy snuggled in my plugins folder and installed!
Sorry for being a total ditz, must be the pregnancy hormones messing with my common sense!
Thank you for a fun plugin (just need to try it now)!
Nicca619,
Glad to hear you got on the right track! :) Hope the plugin works for you!
Ian,
How do you use grouping ?
Do I need to edit the lightbox renderer to allow something like the following.
[lightbox IMAGE_URL RELGROUP [IMAGE TITLE]]LINK TEXT[/lightbox]
I can force the grouping by ammending the following in _lightbox.plugin.php :
$replace = "<a href=\"\\1\" rel=\"lightbox\" title=\"\\3\">\\4</a>";
to something like:
$replace = "<a href=\"\\1\" rel=\"lightbox[GROUP]\" title=\"\\3\">\\4</a>";
However this then makes all images part of the same group, it'd be nice to be able to have multiple groups per page. Do you have any advice on how to get this working? </code>
Actually, grouping isn't supported with the renderer. I think simply adding the hrefs with the correct group tags is the best way to do this as I've previously deprecated the renderer support because it might affect forward-compatibility of blog posts and writing the links in html isn't a lot different from writing the links in the renderer's style anyway.
I can get it to link to the required image but not in lightbox format at all.. I deleted the plugin