View Full Version : Trying to Get Lightbox and Archive Pages Working
Blitz
08-25-2006, 11:41 PM
Hey, so I've been working on this for a while today and I just can't seem to get Lightbox 2.0 and the page-by-page archive addon working in unison. Its getting on my nerves because I finally got Lightbox to work, but now page-by-page isn't. Also, when I tried to see if I could get page by page to work it did, but only showed two pages of about 60 images, and didn't show the other 180+ in my gallery so right now I have to have one page with 226 thumbnails. I really want Lightbox and I would rather have the pages working for ease of loading.
Any help would be appreciated. I am no coding guru but I know my way around things to be able to edit html/js/css. But indepth explanations would be greatly appreciated!
Can't wait to get a reply as this would complete the usability part of my website and I can focus more on making the design more original for me.
I'm very happy with the pixelpost software though, its smooth and almost glitch-free for me and couldn't be easier for someone with mild knowledge of the coding side of things.
Please help!
- Trevor
EDIT: should probably include a link to my site hehe: http://www.trevorhenry.ca
First of all I see that you are using frames. As long as you are making such "unnormal" tunning you should take care with navigation on own hand.
If you dont see all thumbs in page-by=page mode then it means you dont use correct tag for it. As I cant see issue I cant help :/
PS I dont see lighbox usage in your archive page.
Blitz
08-26-2006, 01:03 PM
I'm not intentionally using frames, its the redirection for my url.
http://www.mediasoldier.net/photography
There are no frames on the site other than the one required to reroute by domain name.
Also, I was using the correct tags, unless there are new ones I am not aware of. I used the ones on the addon page. It looked fine, it just wouldn't show any pictures after #60 or so, even though there are 226. It still made 8 pages, just 6 of them were blank.
Lightbox is definately on my site too, problem is you have to wait for the entire browse area to load before it works. That is another reason I want to split my gallery into pages.
Anyway if you wouldnt show us problem (in this case description isnt all) then we cant check what is going on, what in behavior of addon isnt OK :/
Blitz
08-27-2006, 05:40 AM
Umm I didn't say I woundn't, I thought you might know of a bug with the addon but apparently I should put it up. The page-by-page is on my site now and I figured out it wasn't displaying images that where not assigned to a category (a large portion of my gallery) so I have been assigning categories to each of my images tonight. Now Lightbox does not work, and neither do the previous or next buttons on the page-by-page. I think it must be something in my index.php that needs to be changed but I really have no clue.
Help appreciated! thanks
Connie
08-27-2006, 07:11 AM
in my index.php
did you modify the index.php?
Blitz
08-27-2006, 04:12 PM
Yes, it was changed for Lightbox. I found the code alteration in another thread when I searched for it. I also changed the name of my RSS feed a while ago. Those are the only changes I've made though.
It can be like you set some future dates for images and this addon in some version was counting all images in DB not only this available till current time (striping from counting future one).
And it look like my theory with small except for showing last image. After last thumb there is still one more image which isnt in thumbs list.
Blitz
08-28-2006, 03:07 AM
Sorry GeoS but I'm not sure what you are talking about? I can't get lightbox to work :(
I got the page-by-page working though, it just doesn't display images that don't have an assigned category.
Blitz
08-28-2006, 03:17 AM
Okay nevermind guys, I am pretty sure I figured it out for myself. It was just changing the paged_archive.php thumb_output to <a href='images/$name' rel='lightbox_1'>. Thanks for your time though!
All is OK until the moment where in Category ALL should be displayed all images. In this case selected by you categories doesnt metter.
And future dates of images - dates before now. In such case image shouldnt be displayed but it is in DB (from which can be counted if there is still bug in you page-by-page addon if not then no).
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.