Gallery Lightboxed
Posted April 10th, 2006 in Development, Photography, Site Updates, WebIf you’re into fancy web tricks/layouts/etc. and you haven’t already, check out Lightbox JS v2.0. It’s a neat little script that lets you link to images and have them display on top of your current page, without having to navigate away.
I’ve been meaning to try to integrate it into my photo gallery for some time now, and finally sat down and did it this evening. So, if you try to browse through my gallery now, and click on the thumbnail of an image, the full size version will load over the current page. I didn’t enable it for the random photo on the sidebar though, as lightbox needs around 110kb of JavaScript to operate, and I think that’s a little heavy for my page (my 12kb CSS file is big enough as it is), but if you follow a link titled ‘Photo Gallery’ while on a slow connection, you should be ready to wait for a little bit.
Update: I’ve made a few more changes to my Lightbox integration. I removed all the fancy effects, and made te necessary changes to my gallery theme to enable the use of the lightbox ‘previous’ and ‘next buttons’. As a result, I’ve cut that 110kb of JavaScript down to only 24kb.

April 18th, 2006 at 3:27 am
Wow now that is cool ^_^