Index: thickbox.js
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/thickbox/thickbox.js,v
retrieving revision 1.2.4.4
diff -u -p -r1.2.4.4 thickbox.js
--- thickbox.js	17 Sep 2008 13:06:41 -0000	1.2.4.4
+++ thickbox.js	19 Oct 2008 14:19:26 -0000
@@ -136,7 +136,7 @@ function tb_show(caption, url, imageGrou
 			}
 			// End Resizing
 
-			TB_WIDTH = imageWidth + 30;
+			TB_WIDTH = imageWidth < 320 ? 350 : imageWidth + 30;
 			TB_HEIGHT = imageHeight + 60;
 			$("#TB_window").append("<a href='' id='TB_ImageOff' title='" + settings.next_close + "'><img id='TB_Image' src='"+url+"' width='"+imageWidth+"' height='"+imageHeight+"' alt='"+caption+"'/></a>" + "<div id='TB_caption'>"+caption+"<div id='TB_secondLine'>" + TB_imageCount + TB_PrevHTML + TB_NextHTML + "</div></div><div id='TB_closeWindow'><a href='#' id='TB_closeWindowButton' title='" + settings.close + "'>" + settings.close + "</a> " + settings.esc_key + "</div>");
 
