When changing the term without changing the image the tax image cache is not updated. Here is a patch:

Original from line 655
else
drupal_set_message(t('Error while adding image [tid = !tid, path = @path].', array('!tid' => $tid, '@path' => $filepath)), 'error');
}
}
+ // clear tax image cache if the name or description has changed for the tid
+ $table = taxonomy_image_flush_caches();
+ cache_clear_all('taxonomy_image:'. $tid, $table[0]);
break;
case 'delete':
taxonomy_image_delete($tid);
break;
}

Comments

yingtho’s picture

Status: Active » Needs review