Index: includes/ImageGallery.php =================================================================== RCS file: /cvsroot/wikipedia/phase3/includes/ImageGallery.php,v retrieving revision 1.27 diff -c -r1.27 ImageGallery.php *** includes/ImageGallery.php 14 Jan 2006 02:49:42 -0000 1.27 --- includes/ImageGallery.php 16 Feb 2006 00:04:56 -0000 *************** *** 92,97 **** --- 92,101 ---- $s = ''; $i = 0; foreach ( $this->mImages as $pair ) { + if( $i %4 == 0 ) { + $s .= ""; + } + $img =& $pair[0]; $text = $pair[1];