It working now
this is the right template with the code i should use
Thanks for help
<?php
/**
* Archive Template
*
* Displays an Archive index of post-type items. Other more specific archive templates
* may override the display of this template for example the category.php.
*
* @package Thematic
* @subpackage Templates
*
* @link http://codex.wordpress.org/Template_Hierarchy Codex: Template Hierarchy
*/
// calling the header.php
get_header();
// action hook for placing content above #container
thematic_abovecontainer();
?>
<div id="container">
<?php
// action hook for placing content above #content
thematic_abovecontent();
// filter for manipulating the element that wraps the content
echo apply_filters( 'thematic_open_id_content', '<div id="content">' . "\n\n" );
$term_slug = get_query_var( 'term' );
$taxonomyName = get_query_var( 'taxonomy' );
$current_term = get_term_by( 'slug', $term_slug, $taxonomyName );
$args = array( 'child_of' => $current_term->term_id, 'hide_empty'=>false);
$terms = get_terms( 'tagportifolio', $args);
$assoc = taxonomy_image_plugin_get_associations();
if (!empty($terms)):
foreach( $terms as $child ):
?>
<div id="cat-<?php echo $child->term_id; ?>">
<?php
if(array_key_exists( $child->term_taxonomy_id, $assoc )){
echo wp_get_attachment_image( $assoc[$child->term_taxonomy_id], array(), false, 'thumbnail');
}
?>
<h1 class="entry-title"><a href="https://wordpress.stackexchange.com/questions/61010/<?php echo get_term_link( $child->name, $taxonomyName );?>">
<?php echo $child->name; ?></a ></h1><br/>
</div>
<?php
endforeach;
endif;
?>
</div><!-- #content -->
<?php
// action hook for placing content below #content
thematic_belowcontent();
?>
</div><!-- #container -->
<?php
// action hook for placing content below #container
thematic_belowcontainer();
// calling the standard sidebar
thematic_sidebar();
// calling footer.php
get_footer();
?>