• Hello
    I’m experiencing a strange behavior here.
    when I run the obvious code you have on your website
    $img = $taxonomy_images_plugin->get_image_html( 'detail',4242 );
    then the image is not shown…(cats have images attached)
    (However it works for some older categories with lover id, such as 13, 5, etc.,pretty strange)

    But when I do
    do_action( 'taxonomy_image_plugin_print_image_html', 'thumbnail' ); for that category ‘4242’ (category.php)
    it gives me the image.

    here is my actual code

    if(is_category('4242')){
    	echo '<div id="profile">';
    		echo '<div class="profile_text">';
    		_e ($virtual_cat_descr);
    		echo'</div>';
    		echo '<span class="profile_picture">';
    	    		//$img1 = $taxonomy_images_plugin->get_image_html( 'detail',4242 );
    			//echo $img1;
    			do_action( 'taxonomy_image_plugin_print_image_html', 'thumbnail' );
    		echo '</span>';
    	echo '</div>';
    	$termID = 4243;
    	$taxonomyName = "category";
    	$termchildren = get_term_children( $termID, $taxonomyName );
    
    	foreach ($termchildren as $child) {
    		$url = get_category_link($child);
    		//$thisCategory = get_category();
    		echo $url;
    		$img = $taxonomy_images_plugin->get_image_html( 'detail',4243 );
    		echo $img;
    	}
    }

    http://wordpress.org/extend/plugins/taxonomy-images/

  • The topic ‘[Plugin: Taxonomy Images BETA] taxonomy_images_plugin->get_image_html problem’ is closed to new replies.