phpwcms 1.2.6 und Lightbox JS 2.0
-
- Posts: 22
- Joined: Wed 26. Oct 2005, 23:06
phpwcms 1.2.6 und Lightbox JS 2.0
Hi all,
I have just implemented the nice looking Lightbox JS (Version 2.02) on my personal website.
The thing is, although everything seems to work, the animation and loading times are pretty sloppy.
I haven't done anything else than what is said on the authors website (http://www.huddletogether.com/projects/ ... 2/#example)
Have a look at
http://www.dennis-blank.de/index.php?id=17,0,0,1,0,0
and see for yourselves.
I have no more ideas what the reason for that could be..
Has anyone of you guys experience in using Lightbox with phpwcms?
I could really need some hints with that.
-Gino.
I have just implemented the nice looking Lightbox JS (Version 2.02) on my personal website.
The thing is, although everything seems to work, the animation and loading times are pretty sloppy.
I haven't done anything else than what is said on the authors website (http://www.huddletogether.com/projects/ ... 2/#example)
Have a look at
http://www.dennis-blank.de/index.php?id=17,0,0,1,0,0
and see for yourselves.
I have no more ideas what the reason for that could be..
Has anyone of you guys experience in using Lightbox with phpwcms?
I could really need some hints with that.
-Gino.
Hi Gino,
nice work,
it's ok with me it doesn't look sloppy
Cheers
nice work,
it's ok with me it doesn't look sloppy
Cheers
1.3 out, testing, testing...
Sponsoring 4 phpwcms Blog and Usermanagement
Sponsoring 4 phpwcms Blog and Usermanagement
-
- Posts: 22
- Joined: Wed 26. Oct 2005, 23:06
Thanks Kosse, but I did not mean the "looks" of it.
On my machine the resize animation that occurs when switching from one picture to the next by clicking on "next" and "previous" is not fluid at all.
Is that different on yours?
Have you compared the speed to the example on the author's page?
I get the feeling, that the more pictures I add to the gallery the slower the animations get.
On the author's page everything runs much more smooth.
Wonder what I am doing wrong..
On my machine the resize animation that occurs when switching from one picture to the next by clicking on "next" and "previous" is not fluid at all.
Is that different on yours?
Have you compared the speed to the example on the author's page?
I get the feeling, that the more pictures I add to the gallery the slower the animations get.

On the author's page everything runs much more smooth.

Wonder what I am doing wrong..
Mmmmm, I was speaking about the animation, not the lookGino Bonetti wrote:Thanks Kosse, but I did not mean the "looks" of it.
On my machine the resize animation that occurs when switching from one picture to the next by clicking on "next" and "previous" is not fluid at all.
Is that different on yours?
Have you compared the speed to the example on the author's page?
I get the feeling, that the more pictures I add to the gallery the slower the animations get.![]()
On the author's page everything runs much more smooth.
Wonder what I am doing wrong..

My machine runs your page smoothly, no problems...
I don't think it has to do with your pictures (Js 'onloads' all the pics when loading the page btu if u use 20 pics of 600kb, well, that loads


But here it's really ok (I must admit I have 2Gb+ of ram and a lot of CPU ressources available).
Cheers
1.3 out, testing, testing...
Sponsoring 4 phpwcms Blog and Usermanagement
Sponsoring 4 phpwcms Blog and Usermanagement
-
- Posts: 22
- Joined: Wed 26. Oct 2005, 23:06
What browser are you using? Because I found out that the page runs smoothly in IE but not in my Firefox..
And this is also very interesting:
If I generate an external HTML-file including the image-links and thumbnails and open that one from phpwcms in another window, the animation runs absolutely smooth in firefox as well.
So there must be some conflict with Lightbox from within phpwcms.
I am using an HTML-Contentpart and just pasting these lines:
etc..
This must somehow produce a heavy load with phpwmcs and Firefox. As already said, no problems with external html-file or iFrame..
I am totally confused..

And this is also very interesting:

If I generate an external HTML-file including the image-links and thumbnails and open that one from phpwcms in another window, the animation runs absolutely smooth in firefox as well.
So there must be some conflict with Lightbox from within phpwcms.

I am using an HTML-Contentpart and just pasting these lines:
Code: Select all
<a href="picture/lightbox/phototeppich/bluete.jpg" rel="lightbox[phototeppich]" title="Blossom"><IMG BORDER=0 SRC="picture/lightbox/phototeppich/thumbs/bluete.jpg"></a>
<a href="picture/lightbox/phototeppich/bug.jpg" rel="lightbox[phototeppich]" title="Bug Bug"><IMG BORDER=0 SRC="picture/lightbox/phototeppich/thumbs/bug.jpg"></a>
This must somehow produce a heavy load with phpwmcs and Firefox. As already said, no problems with external html-file or iFrame..
I am totally confused..

Gino Bonetti wrote:What browser are you using? Because I found out that the page runs smoothly in IE but not in my Firefox..![]()
I'm not saying there isn't a slowdown... but, IF lightbox WAS running "smoothly" with IE... then it would NOT be phpWCMS at fault, it would be Firefox!Gino Bonetti wrote:So there must be some conflict with Lightbox from within phpwcms.

I perceive IE and Firefox to have about the same transition times / slight delays that you detect
(Opera 9 stutters, sometimes pauses with white backgrounds, and has dimming/transparency issues when pictures DO paint).
You're not alone:
http://www.zenphoto.org/support/topic.php?id=720
BTW, I noticed *teeny* typos in "frontend.css":
#list_top_ul li a {
padding: 2px 0.5em;
/*margin-left: 3px;*/
/*border: 1px solid #DB8143;*/
border-bottom: none;
background: #3D3D3D;
text-decoration: none;
}
#list_top_ul li a:link { color: #ffffff; }
#list_top_ul li a:visited { color: #ffffff; }
#list_top_ul li a:hover {
color: White;
background: #DB8143;; <---EXTRA semicolon
border-color: #ffffff;
}
#list_top_ul li a#list_top_active_link, #list_top li a#list_top_home_active_link {
background: 3D3D3D; <---MISSING #
-
- Posts: 22
- Joined: Wed 26. Oct 2005, 23:06
You're right, but one thing: that would not explain why my simple test-page worked just fine (and fast!) in Firefox (and IE) but calling the script from within phpwcms led to bad performance (in Firefox, not in IE!). Maybe it was the two of them that did not fit together..... but, IF lightbox WAS running "smoothly" with IE... then it would NOT be phpWCMS at fault, it would be Firefox! Wink
That is all very "cloak-and-dagger".. But the best is yet to come: performance improved all of a sudden when I deleted the article containing the gallery and created a brand new one. Now I can live with it. Although it is still at about 80% of the performance I would like it to be.
(If anyone wants to see results, link has changed to http://www.dennis-blank.de/index.php?lightbox)
-Gino
PS.: Thanks for the code tips!

- anthony.abraira
- Posts: 99
- Joined: Sun 11. Sep 2005, 07:42
- Location: Mars Hill, NC
- Contact:
Is it possible?
I was wondering if it was possible to add the link information to an image content part.
I was trying to add the extended information to the end of the url but the "" always format in the wrong place.
Code: Select all
As in the example: image-caption|alt text of image| url
"The trick is living without an answer."