Welcome, Guest. Please login or register.
Did you miss your activation email?
February 12, 2012, 02:31:42 PM

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.
149644 Posts in 21099 Topics by 7539 Members
Latest Member: ionline
* Home Help Search Login Register
Pages: 1 2 [3] 4 5 6   Go Down
Print
Author Topic: New Module: Lightbox  (Read 39990 times)
vyni

Offline Offline

Posts: 566


« Reply #50 on: August 22, 2008, 10:32:13 AM »

Sorry  embarassed

I didn´t realize, that´s the english part.

The theme was: Why doesn´t show up the prev, next, exit - pics. And an information about few css-errors I found in his template.

If someone runs into the same situation I´ll try to explain it too.

For the moment I refuse to translate all the stuff.

But if You press me....
Logged

PS: Falls jemand eine Idee hat was zu tun ist und mir das erklären könnt - geh bitte davon aus dass ich ahnungslos bin, was php und so betrifft. Ich kann grad was lesen, kopieren und einfügen,  ungefähr verfolgen und glauben.
Ruud
Board member
WebsiteBaker Org e.V.

Offline Offline

Posts: 2094



WWW
« Reply #51 on: August 22, 2008, 10:55:54 AM »

But if You press me....

Tempting  wink

Ruud
Logged

Professional WebsiteBaker Developer
cthamer

Offline Offline

Posts: 23


« Reply #52 on: August 22, 2008, 05:35:19 PM »

It is impossible unlikely very possible that there are errors in my css!  wink Point them out to me and I may just fix them.

I realize that the path for the images may be incorrect with the default installation. That is why I included the ability to edit the CSS in the module.

Christian
« Last Edit: August 22, 2008, 05:38:33 PM by cthamer » Logged
vyni

Offline Offline

Posts: 566


« Reply #53 on: August 22, 2008, 05:46:02 PM »

Hi cthamer,
I think it´s not a question of error in css. It depends on the server-settings I guess.
Mostly I don´t have troubles to get the pics immediatly, but sometimes.

So I think it´s just from time to time.

regards from Himberg
Logged

PS: Falls jemand eine Idee hat was zu tun ist und mir das erklären könnt - geh bitte davon aus dass ich ahnungslos bin, was php und so betrifft. Ich kann grad was lesen, kopieren und einfügen,  ungefähr verfolgen und glauben.
vyni

Offline Offline

Posts: 566


« Reply #54 on: August 22, 2008, 05:58:07 PM »

Are You bored, having too much time?

Could You, would You implement this lightbox in an existing module?
I´m beginning to use the module manuals, making some kind of user-pages with it.
In this module a user can make wysiwyg-sections, no more - no less. But they are asked to show fotos and therfore this would be really great to have the ability to click a button:"Which foto do You want to show with ligthbox?".

Do You see a way?

regards from Himberg, next to Vienna

But maybe this must be added to FCK-Editor, like the WB-Link Button?
« Last Edit: August 22, 2008, 06:01:08 PM by vyni » Logged

PS: Falls jemand eine Idee hat was zu tun ist und mir das erklären könnt - geh bitte davon aus dass ich ahnungslos bin, was php und so betrifft. Ich kann grad was lesen, kopieren und einfügen,  ungefähr verfolgen und glauben.
cthamer

Offline Offline

Posts: 23


« Reply #55 on: August 22, 2008, 08:50:09 PM »

Vyni,

Sorry but I am not bored with too much time on my hands. Its quite the opposite. I am a full time programmer with too little time. I am sure what you are asking for can be done though. If you have specific questions on how it might be done I will be happy to answer. You could just paste the lightbox code manually into each page as I have done here as an example. http://wb.thamer.us/pages/manual73/lightbox.php  BTW, this lightbox is another version I did and is a little different as it is draggable.

Christian
Logged
ecology

Offline Offline

Posts: 117



WWW
« Reply #56 on: September 03, 2008, 10:45:46 AM »

hi there,... hallo zusammen

what i'm missing and that would be perfekt if this can be implementet to this module is to select the folders under media where the photos are... right now we have to write down the folder by hand and that is for a non web-admin like some of my publisher not that easy to do...
understand???

was ich sagen möchte, für einige benutzer die eine website pflegen (nicht der webadmin) wäre es einfacher, mann könnte den pfad mit einem dropdown auswählen wie bei anderen modulen auch...
sollte doch gehn...

many thanks for your help!
eco
Logged

echo "hello world" ;-?
-------------------------------
Lubeca

Offline Offline

Posts: 6


« Reply #57 on: September 30, 2008, 09:49:08 AM »

thanks for this great module.
but I have some layout problems with it.

below the picture there is the close button.
pls. have a look on my added pics.
what went wrong in my gallery ??

thank you and greetings from hamburg.
andreas
Logged
Boudi
Addon Team

Offline Offline

Posts: 793



WWW
« Reply #58 on: September 30, 2008, 09:57:24 AM »

Did you checked if the path to the images is correct?

Logged

...:: Bake the Unbakable ::...
Lubeca

Offline Offline

Posts: 6


« Reply #59 on: September 30, 2008, 10:16:57 AM »

oh sorry for missunderstanding.
the images are shown correctly and everythings works fine.

only below the image the little design error of the close button and the black line within the white border.

if you like have a look on my gallery here
Logged
Boudi
Addon Team

Offline Offline

Posts: 793



WWW
« Reply #60 on: September 30, 2008, 10:22:53 AM »

The gallery is fully original? You made no changes at all on the files itself?
Logged

...:: Bake the Unbakable ::...
Lubeca

Offline Offline

Posts: 6


« Reply #61 on: September 30, 2008, 10:23:57 AM »

yes, that's right. no changes on the files.
Logged
Boudi
Addon Team

Offline Offline

Posts: 793



WWW
« Reply #62 on: September 30, 2008, 10:25:57 AM »

Just try to uninstall the programm and reinstall it?
Logged

...:: Bake the Unbakable ::...
Ruud
Board member
WebsiteBaker Org e.V.

Offline Offline

Posts: 2094



WWW
« Reply #63 on: September 30, 2008, 10:35:37 AM »

Your base.css has a div with the ID "Close".
This same ID is used in the lightbox module (frontend.css).

The solution is to use another ID in your template and base.css for close.

Ruud


Logged

Professional WebsiteBaker Developer
Lubeca

Offline Offline

Posts: 6


« Reply #64 on: September 30, 2008, 10:51:32 AM »

hmm.
I cannot find this ID in my frontend.css
And also, I willnot find a base.css within the folde \modules\lightbox2

 huh
Logged
vyni

Offline Offline

Posts: 566


« Reply #65 on: September 30, 2008, 11:03:08 AM »

Hallo Lubeca,

was Ruud meint:
in Deinem Template gibt es ein div id="close" - bestimmt auch im css zu Deinem Template

das Lightbox-modul hat auch ein div id="close" und auch ein css

das verträgt sich natürlich nicht.

Also: im Template das div umbenennen in xclose und im css dann auch.

Alles klar?
Logged

PS: Falls jemand eine Idee hat was zu tun ist und mir das erklären könnt - geh bitte davon aus dass ich ahnungslos bin, was php und so betrifft. Ich kann grad was lesen, kopieren und einfügen,  ungefähr verfolgen und glauben.
Ruud
Board member
WebsiteBaker Org e.V.

Offline Offline

Posts: 2094



WWW
« Reply #66 on: September 30, 2008, 11:04:41 AM »

I would not change the lightbox (frontend) css.
You would need to hack the javascript code also. Update to future versions would give your gallery the same problems again.

In your template (index.php), below the footer, the is a part that says:

Code:
<div id="close">
</div><!-- // #close site -->

In your base.css there is a part that says:

Code:
div#close {
    clear: both;
    height: 9px;
    padding: 0 0 0 0;
    color: #333;
    background: #444444 url(images/chiusura.gif) no-repeat 0 0;
}

It is used to display the grey bottom image of your site. You also see that in the screenshots you gave. That grey line left of the "close X" image should not be there.

If you change both "close" words to "closethis" (or something else, as long as it is the same in both files) your Lightbox will work as it should.

Do not try to find this in the lightbox, everything in there is dynamically generated, so you won't easily find that in there.

Ruud

Logged

Professional WebsiteBaker Developer
Lubeca

Offline Offline

Posts: 6


« Reply #67 on: September 30, 2008, 11:19:36 AM »

Now I got you Ruud - thank you very much !!

Danke auch Dir vyni

It works fine !!
Logged
vyni

Offline Offline

Posts: 566


« Reply #68 on: September 30, 2008, 11:29:06 AM »

Aber bitte, kein Problem.

Nur eine Kleinigkeit noch: Deine Bilder mit 300kb pro Datei sind einfach zu groß (zu lange Ladezeit) Lass sie ersteinmal (vom  JAlbum -??) durch einen Kompressor laufen  cool

LG aus Himberg

english: You´r welcome. Just one thing. Your photos with filesize 300kb each are too big (loadingtime is too high) Make a compression first.
Logged

PS: Falls jemand eine Idee hat was zu tun ist und mir das erklären könnt - geh bitte davon aus dass ich ahnungslos bin, was php und so betrifft. Ich kann grad was lesen, kopieren und einfügen,  ungefähr verfolgen und glauben.
Lubeca

Offline Offline

Posts: 6


« Reply #69 on: September 30, 2008, 11:33:16 AM »

Oh yes. For this album you're right. These are too big.
Have a look to the next, "Norwegen 2008"
This images are better.

I would change the "Rhodos" images

Thanks !!
Logged
groloff

Offline Offline

Posts: 17


« Reply #70 on: October 09, 2008, 05:44:18 PM »

hi there
I used this module recently and it´s a great module. Works fine and it´s very simple. Now to the point...

Is it possible to modify this module to show picasa albums? Or: Is it possible to modify any other WB image gallery module to show picasa albums?

Any ideas?
Logged
vyni

Offline Offline

Posts: 566


« Reply #71 on: October 09, 2008, 08:55:06 PM »

Hi,


if Your picasa-album is accessible like a YouTube-video You could
try out this one.

regards from Himberg, next to Vienna
Logged

PS: Falls jemand eine Idee hat was zu tun ist und mir das erklären könnt - geh bitte davon aus dass ich ahnungslos bin, was php und so betrifft. Ich kann grad was lesen, kopieren und einfügen,  ungefähr verfolgen und glauben.
albatros

Offline Offline

Posts: 673


WWW
« Reply #72 on: October 10, 2008, 06:22:11 PM »

Hi everybody,

now a blind man will start talking about colors.  grin

I am always happy getting valid pages. And it seems, I am not the only one, because this was the reason for the "frontend.css". This lightbox-module by Christian Thamer (newest version? http://www.websitebaker2.org/forum/index.php?action=dlattach;topic=7822.0;attach=2369) is using a frontend.css, but the code of my page was not valid. And it didn't matter, if the gallery was in a section or if it was a pure gallery-page. The validator found two errors.

The first was a missing alt-tag, so I inserted <code>alt=""</code> in line 153 of view.php. Easy, even for me.  grin

The second error was caused by
Code:
echo '<link rel="stylesheet" type="text/css" href="' . WB_URL . '/modules/lightbox2/frontend.css" media="screen" />';
in line 22 of view.php. So I deleted it. The gallery still works and my page was "was successfully checked as XHTML 1.0 Transitional!"  smiley

But, as I told you in the beginning, I am really "a blind man talking about colors".

So what do PHP-Pros say to the deleted code-part? Necessary or not? "frontend.css" only should be in the header or am I totally wrong?

Best regards from Germany

Uwe

Edit: CSS-validation also failes. But there you have to choose between effects or validation.
Logged
sparkdigital

Offline Offline

Posts: 345



WWW
« Reply #73 on: October 14, 2008, 03:57:46 PM »

Anyone know how to add captions to each image so that a short description of the image appears below it?

Thanks!

Konrad
Logged
groloff

Offline Offline

Posts: 17


« Reply #74 on: October 15, 2008, 07:23:50 PM »

thanks vyni, that looks good, but... how do I use it to show picasa albums?
Logged
Pages: 1 2 [3] 4 5 6   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!