Start
Help
Forum
Addons
Projects
Welcome,
Guest
. Please
login
or
register
.
August 20, 2008, 05:16:39 PM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Website Baker 2.7.0 (stable) released!
For more information look
here
.
The announcement board can be found
here
.
60556
Posts in
9791
Topics by
5824
Members
Latest Member:
blubb
Website Baker Community Forum
English
Modules
New Module: Lightbox
Pages:
[
1
]
2
Author
Topic: New Module: Lightbox (Read 6529 times)
cthamer
Pending Apprentice Baker
Offline
Posts: 12
New Module: Lightbox
«
on:
November 13, 2007, 12:05:38 AM »
Module Lightbox - for WB 2.6.x
Purpose: This modules adds support for the Lightbox image gallery Javascript to Website Baker.
Installation: Download the ZIP and install it in the Websitebaker Administration (Add-ons -> Modules -> Install Module).
It is intended to be easy to use. To use it create a new page of the type "Lightbox". All the settings are on the Modify Page and should be self explanatory. Thumbnails will be created the first time the page is viewed.
Compatibility: I've tested it on IE 7 on Windows, in FF 2.0.0.9 on Windows .
License: GNU General Public License. The Javascript files are Licensed under the Creative Commons Attribution 2.5 License -
http://creativecommons.org/licenses/by/2.5/
.
http://forum.websitebaker.org/index.php?action=dlattach;topic=7822.0;attach=1417
«
Last Edit: November 28, 2007, 06:03:50 PM by cthamer
»
Logged
gillweb
Apprentice Baker
Offline
Posts: 56
Re: New Module: Lightbox
«
Reply #1 on:
November 14, 2007, 02:02:02 AM »
does this Mod allow you to add a Lightbox image to
any
page or just a page if it's own?
Logged
cthamer
Pending Apprentice Baker
Offline
Posts: 12
Re: New Module: Lightbox
«
Reply #2 on:
November 14, 2007, 03:07:46 AM »
Currently it just allows you to create a lightbox page. You can't add a lightbox section to an existing page.
You can see an example of it in action at:
http://www.thamer.us/wb/pages/lb.php
.
«
Last Edit: November 14, 2007, 03:12:10 AM by cthamer
»
Logged
cthamer
Pending Apprentice Baker
Offline
Posts: 12
Re: New Module: Lightbox
«
Reply #3 on:
November 14, 2007, 03:48:51 AM »
The module link in the original posting has been updated to reflect a couple of bug fixes such as comments left on in the output and an incorrect path setting for the GD class.
Logged
Adem
Pending Apprentice Baker
Offline
Posts: 6
Re: New Module: Lightbox
«
Reply #4 on:
November 14, 2007, 09:56:30 AM »
I was looking for a lightbox module and this does the trick. cheers.
I do have one problem though...
In IE the prev/next/close buttons show up but in Firefox they don't show up.
Any clues?
Logged
freeSbee
Senior Baker
Offline
Posts: 186
Re: New Module: Lightbox
«
Reply #5 on:
November 14, 2007, 11:31:58 AM »
Hi Christian
Great! I love your module!
Suggestion: The default values of "number of columns" and "number of rows" are 0. If somebody forgets to modify them the module isn't working and he gets a php warning...
Warning: Division by zero in /home/www/web111/html/wb/modules/lightbox/view.php on line 139
To avoid this you could set the default values to 1 or check if the values of $img_rows or $img_columns > 0
Christoph
Logged
Adem
Pending Apprentice Baker
Offline
Posts: 6
Re: New Module: Lightbox
«
Reply #6 on:
November 14, 2007, 12:49:17 PM »
the prev/next/close graphics are now working after I changed the paths in the css.
Logged
cthamer
Pending Apprentice Baker
Offline
Posts: 12
Re: New Module: Lightbox
«
Reply #7 on:
November 14, 2007, 05:51:44 PM »
Quote from: freeSbee on November 14, 2007, 11:31:58 AM
Hi Christian
Great! I love your module!
Suggestion: The default values of "number of columns" and "number of rows" are 0. If somebody forgets to modify them the module isn't working and he gets a php warning...
Warning: Division by zero in /home/www/web111/html/wb/modules/lightbox/view.php on line 139
To avoid this you could set the default values to 1 or check if the values of $img_rows or $img_columns > 0
Christoph
Thanks for the tip, I will change it to default to 4 col 3 row which seems like a reasonable start. In addition I set the default thumbnail width to 100. The download has been updated in my original post.
«
Last Edit: November 14, 2007, 06:34:10 PM by cthamer
»
Logged
wwwMARKLEYcouk
Master Baker
Offline
Posts: 268
Re: New Module: Lightbox
«
Reply #8 on:
November 15, 2007, 10:13:29 AM »
thanks
another nice gallery to play with
Logged
http://www.markley.co.uk
new webhosting packages available at the cheapest prices around
tomhung
Master Baker
Offline
Posts: 354
Re: New Module: Lightbox
«
Reply #9 on:
November 16, 2007, 03:18:28 PM »
be aware that this module conflicts with another lightbox module. the problem is they both use the same directory name, and table names.
http://forum.websitebaker.org/index.php/topic,4036.0.html
Please make a change to this one so we can run them both.
G
Logged
cthamer
Pending Apprentice Baker
Offline
Posts: 12
Re: New Module: Lightbox
«
Reply #10 on:
November 17, 2007, 10:23:19 PM »
Quote from: tomhung on November 16, 2007, 03:18:28 PM
be aware that this module conflicts with another lightbox module. the problem is they both use the same directory name, and table names.
http://forum.websitebaker.org/index.php/topic,4036.0.html
Please make a change to this one so we can run them both.
G
Ok, I have updated the code so that it won't conflict with the other module. See the original post for the file. Let me know if you have any problems as I don't have that other module installed.
Logged
frankyboy
Apprentice Baker
Offline
Posts: 98
Re: New Module: Lightbox
«
Reply #11 on:
November 18, 2007, 08:56:10 AM »
great module, but:
I would like to lobby for a backend solution to deactivate the slide-show of the pics.
thx,
frank
Logged
Dont bring it, SING it!
|
Saxon Youth Choir!
|
The EAST will RISE again
burki
Junior Baker
Offline
Posts: 136
bake...bake...
Re: New Module: Lightbox
«
Reply #12 on:
November 22, 2007, 06:58:26 PM »
uuuuh,
i was working on that mod by my self... thanks a lot, you safed a lot of workig hours for me
its a great mod and its running quite well, do
thanks!
chris
Logged
CHEERS
lifeguard
First-Time Baker
Offline
Posts: 1
Re: New Module: Lightbox
«
Reply #13 on:
November 23, 2007, 08:05:40 PM »
great module!
But where can i change the language of this module?
Logged
cthamer
Pending Apprentice Baker
Offline
Posts: 12
Re: New Module: Lightbox
«
Reply #14 on:
November 23, 2007, 08:15:40 PM »
I did not add any support for extra languages as I just didn't have the time.
Logged
gmiernicki
Pending Apprentice Baker
Offline
Posts: 10
Re: New Module: Lightbox
«
Reply #15 on:
November 28, 2007, 02:27:34 PM »
I hope I'm not going blind, but I don't see a link to download this anywhere, just a link to the Creative Commons License!
Logged
cthamer
Pending Apprentice Baker
Offline
Posts: 12
Re: New Module: Lightbox
«
Reply #16 on:
November 28, 2007, 06:05:37 PM »
Quote from: gmiernicki on November 28, 2007, 02:27:34 PM
I hope I'm not going blind, but I don't see a link to download this anywhere, just a link to the Creative Commons License!
You may have to be logged in to see the link in the original post. I added it to the main text as well but you will still have to log in to download it.
Logged
gmiernicki
Pending Apprentice Baker
Offline
Posts: 10
Re: New Module: Lightbox
«
Reply #17 on:
November 28, 2007, 07:47:39 PM »
Quote from: cthamer on November 28, 2007, 06:05:37 PM
Quote from: gmiernicki on November 28, 2007, 02:27:34 PM
I hope I'm not going blind, but I don't see a link to download this anywhere, just a link to the Creative Commons License!
You may have to be logged in to see the link in the original post. I added it to the main text as well but you will still have to log in to download it.
Yep, that did it. I registered just to post and didn't think to look for that.
Best Regards!
Logged
gmiernicki
Pending Apprentice Baker
Offline
Posts: 10
Re: New Module: Lightbox
«
Reply #18 on:
December 07, 2007, 09:15:12 PM »
running into some problems with the usage of this
module. when i use the code the way it is, clicking on images does not open a lightbox, it just navigates to the image in the browser.
when i replace the 3 <script> lines in the code with direct links to the scriptaculous/prototype/lightbox libraries on your demo site, it will work.
stumped, and its 5pm on my workday, which could be the reason im relucatant to try anyt further debugging...
any ideas?
Logged
gmiernicki
Pending Apprentice Baker
Offline
Posts: 10
Re: New Module: Lightbox
«
Reply #19 on:
December 11, 2007, 02:07:46 PM »
DOUBLE POST!
Im taking this module and gonna mash it up with another for a new gallery, more news next week
«
Last Edit: December 12, 2007, 11:11:37 PM by gmiernicki
»
Logged
Pages:
[
1
]
2
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> Announcements
===> Security Announcements
=> Guest Area and Off-Topic
=> Website Showcase
-----------------------------
English
-----------------------------
=> Help/Support
===> Help/Support of WB2.7.x core
=> Website Baker Development
===> Website Baker 3
=> Documentation
=> Templates
=> Modules
===> Code Snippets
=> Languages
=> Archive
-----------------------------
Deutsch (German)
-----------------------------
=> Ankündigungen
=> Hilfe/Support
===> Templates, Module & Co.
===> Hilfe/Support von WB2.7.x core
=> Diskussion über WB
=> Off-Topic
=> Archiv
-----------------------------
Nederlands (Dutch)
-----------------------------
=> Aankondigingen
=> Help / Support
===> WB Core
===> Templates, Modules & Languages
=> WB Discussie
=> Niet-Terzake (Off Topic)
-----------------------------
French
-----------------------------
=> Help/Support
-----------------------------
Italian
-----------------------------
=> Help/Support
Loading...