View Full Version : Lightbox.js and resizing images

04-30-2007, 02:44 PM
Hi, I'm using the lightbox 2.0 code on an image gallery here http://www.kirk-enterprises.co.uk/kerry/juliescakes/gallery-wedding.htm but I would like the images to automatically resize according to the browser window size.

There is a script called Thickbox that does resize images but it doesn't have the same look as lightbox.

I've played around with the lightbox code but I'm a complete thicko when it comes to javascript!! Whatever modifications I make breaks the code and the lightbox no longer works!

Is there anyone that can help me with this?

lightbox code: http://www.kirk-enterprises.co.uk/kerry/juliescakes/js/lightbox.js
thickbox code: http://jquery.com/demo/thickbox/thickbox-code/thickbox.js

Thanks a million