Index: sites/all/modules/contrib/taxonomy_image/taxonomy_image.module =================================================================== --- sites/all/modules/contrib/taxonomy_image/taxonomy_image.module (revision 2292) +++ sites/all/modules/contrib/taxonomy_image/taxonomy_image.module (working copy) @@ -63,8 +63,10 @@ else { $current->title = taxonomy_image_tt("taxonomy:term:$current->tid:name", $current->name); } + $current->alt = taxonomy_image_tt("taxonomy:term:$current->tid:name", $current->name); // Have to dump double quotes for attribute. $current->title = htmlspecialchars(strip_tags($current->title), ENT_COMPAT); + $current->alt = htmlspecialchars(strip_tags($current->alt), ENT_COMPAT); $my_attrs = array( 'width' => $current->width, @@ -91,13 +93,13 @@ default: if ($preset == 'ORIGINAL') { - $return_url = theme('image', $current->url, $current->name, $current->title, $attributes, FALSE); + $return_url = theme('image', $current->url, $current->alt, $current->title, $attributes, FALSE); } else { // Make sure the attributes don't try to override the preset. unset($attributes['width'], $attributes['height']); $mypath = variable_get('taxonomy_image_path', 'category_pictures') .'/'; - $return_url = theme('imagecache', $preset, $mypath . $current->path, $current->name, $current->title, $attributes); + $return_url = theme('imagecache', $preset, $mypath . $current->path, $current->alt, $current->title, $attributes); } } if ($wrapper) {