Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
March 17, 2010, 10:05:54 PM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Interested in joining the WebsiteBaker team?
For more Information read
here
or on our
new website
.
110308
Posts in
15930
Topics by
9286
Members
Latest Member:
lorbas
WebsiteBaker Community Forum
English
Modules
(Moderators:
Argos
,
BerndJM
)
New Module: Lightbox
Pages:
[
1
]
2
3
...
5
Author
Topic: New Module: Lightbox (Read 29698 times)
cthamer
Offline
Posts: 20
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
August 21, 2008 - I have also attached a user modified version of this module with Dutch and German language files. I have not tested this version. Let me know if there are any problems.
«
Last Edit: August 21, 2008, 07:50:37 PM by cthamer
»
Logged
gillweb
Offline
Posts: 78
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
Offline
Posts: 20
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.
«
Last Edit: August 01, 2009, 07:20:56 AM by cthamer
»
Logged
cthamer
Offline
Posts: 20
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
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
Offline
Posts: 525
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
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
Offline
Posts: 20
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
Offline
Posts: 287
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
webhosting packages available
tomhung
Offline
Posts: 352
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
Offline
Posts: 20
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
Offline
Posts: 106
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
Disko-King.de
|
Saxon Youth Choir!
|
PRO Wrestling in Saxony
|
www.Boardinghouse-chemnitz.eu
burki
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
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
Offline
Posts: 20
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
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
Offline
Posts: 20
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
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
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
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
paljasken
Offline
Posts: 14
Re: New Module: Lightbox
«
Reply #20 on:
December 19, 2007, 12:55:22 PM »
The javascript seems to wrok fine with me, but I can't see the prev and next buttons, and also the close button is a red cross. Where do I change this?
http://www.jonatan.be/pages/fotos/kippen.php
Logged
Luckyluke
Offline
Posts: 552
Let's Rock
Re: New Module: Lightbox
«
Reply #21 on:
December 19, 2007, 08:35:21 PM »
Quote from: paljasken on December 19, 2007, 12:55:22 PM
The javascript seems to wrok fine with me, but I can't see the prev and next buttons, and also the close button is a red cross. Where do I change this?
http://www.jonatan.be/pages/fotos/kippen.php
@Paljasken: staat het bestand "closelabel.gif" in de map ../modules/lightbox/images/closelabel.gif ?
Je moet daar eens gaan zien. Misschien heb je het hernoemt of zelfs gewist.
Nog eventjes bij vermelden: op
http://help.websitebaker.org/pages/nl/welkom.php
zie je de Nederlandstalige documentatie. Met dank aan Eki !!!
Groetjes uit Brugge,
Luc
«
Last Edit: December 19, 2007, 08:43:36 PM by Luckyluke
»
Logged
sparkdigital
Offline
Posts: 252
Once a baker, always a baker!
Re: New Module: Lightbox
«
Reply #22 on:
March 05, 2008, 09:01:32 PM »
Love this module, thanks for all the hard work. I've used it as a section on another page and this is no problem:
http://www.romanticretreats.co.uk/pages/find-a-cottage/isle-of-wight/east-wing-at-stockbridge-manor.php
However, the lightbox doesn't seem to work in all versions of IE7 - any ideas?
Thank you,
Konrad
Logged
paljasken
Offline
Posts: 14
Re: New Module: Lightbox
«
Reply #23 on:
March 05, 2008, 09:23:44 PM »
Quote from: paljasken on December 19, 2007, 12:55:22 PM
The javascript seems to wrok fine with me, but I can't see the prev and next buttons, and also the close button is a red cross. Where do I change this?
http://www.jonatan.be/pages/fotos/kippen.php
I haven't figured it out yet, but i know for sure it's a template issue. With other templates on the same site, the problems not there.
Logged
Ruud
Development Team
Offline
Posts: 1271
[[droplets]]
Re: New Module: Lightbox
«
Reply #24 on:
March 05, 2008, 11:12:46 PM »
Quote from: paljasken on March 05, 2008, 09:23:44 PM
The javascript seems to wrok fine with me, but I can't see the prev and next buttons, and also the close button is a red cross. Where do I change this?
http://www.jonatan.be/pages/fotos/kippen.php
I haven't figured it out yet, but i know for sure it's a template issue. With other templates on the same site, the problems not there.
Your kippen.php page has a small piece of CSS code in it. There it creates the links to the images.
They link to
Quote
http://www.jonatan.be/pages/modules/lightbox/images/closelabel.gif
They shoud link to
Quote
http://www.jonatan.be/modules/lightbox/images/closelabel.gif
Groeten,
Ruud
Logged
Show your WB site in the WebsiteBaker Professionals Showcase
|
ALLWWW Webdesign Oosterhout
|
WB Module ontwikkeling
Pages:
[
1
]
2
3
...
5
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Announcements
=> Security Announcements
=> Documentation
=> Guest Area & Off-Topic
-----------------------------
English
-----------------------------
=> Help & Support
=> Modules
=> Droplets (PHP code for use with Droplet module) & Snippets (raw PHP code)
=> jQuery
=> Templates, Menus & Design
=> WebsiteBaker Language Files
=> WebsiteBaker 2.x discussion
=> WebsiteBaker 3
=> Archive (posts up to 2007)
-----------------------------
Deutsch (German)
-----------------------------
=> Ankündigungen
=> Hilfe/Support
=> Module & Snippets
=> Templates & Design
=> Tutorials
=> jQuery
=> Diskussion über WB
=> Off-Topic
=> Archiv für Themen bis 2007
-----------------------------
Nederlands (Dutch)
-----------------------------
=> Aankondigingen
=> Hulp & Ondersteuning
=> Niet-Terzake (Off Topic)
-----------------------------
Francais (French)
-----------------------------
=> Help/Support
-----------------------------
Italiano (Italian)
-----------------------------
=> Help/Support
Loading...