Index: js/lightbox.js
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/lightbox2/js/lightbox.js,v
retrieving revision 1.5.2.6.4.21
diff -u -r1.5.2.6.4.21 lightbox.js
--- js/lightbox.js 14 Feb 2008 18:46:09 -0000 1.5.2.6.4.21
+++ js/lightbox.js 19 Feb 2008 15:56:07 -0000
@@ -56,7 +56,8 @@
   overlayOpacity : 0.6, // controls transparency of shadow overlay
   fadeInSpeed: 'normal', // controls the speed of the image appearance
   slideDownSpeed: 'slow', // controls the speed of the image resizing animations
-  borderSize : 18, // if you adjust the padding in the CSS, you will need to update this variable
+  borderSize : 10, // if you adjust the padding in the CSS, you will need to update this variable
+  infoHeight: 20,
   imageArray : new Array,
   activeImage : null,
   inprogress : false,
@@ -446,7 +447,7 @@

           // resize code
           var arrayPageSize = Lightbox.getPageSize();
-          var targ = { w:arrayPageSize[2] - (Lightbox.borderSize * 2), h:arrayPageSize[3] - (Lightbox.borderSize * 6) - (arrayPageSize[3] / 10) };
+          var targ = { w:arrayPageSize[2] - (Lightbox.borderSize * 2), h:arrayPageSize[3] - (Lightbox.borderSize * 6) - (Lightbox.infoHeight * 4)- (arrayPageSize[3] / 10) };
           var orig = { w:imgPreloader.width, h:imgPreloader.height };
           var ratio = 1.0; // shrink image with the same aspect
           $('#bottomNavZoomOut').hide();