--- flash_gallery.module.orig 2008-04-09 02:09:53.000000000 -0700 +++ flash_gallery.module 2008-04-09 02:11:25.000000000 -0700 @@ -79,15 +79,17 @@ function theme_flash_gallery($galleries, $tid) { // We'll add height to keep thumbnails lined up. - $size = _image_get_dimensions('thumbnail'); + $size = _image_get_sizes('thumbnail'); $width = $size['width']; $height = $size['height']; $content = ''; + $numImagesIngalleries = 0; if (count($galleries)) { $content.= '