--- 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.= '\n"; } - if ($tid && taxonomy_term_count_nodes($tid, 'image')) { + if ($tid && taxonomy_term_count_nodes($tid, 'image')-$numImagesIngalleries) { $location = base_path() . drupal_get_path('module', 'flash_gallery'); $content .= ''; $content .= t('
Macromedia Flash is required. Download Macromedia Flash.
');