title: How to get term/taxonomy image in wordpress?
body: <p>I want to display all terms with there image of particular taxonomy. i got all term details using get_term() function. </p>
  
  <pre><code>&lt;?php
  $terms = get_terms( 'vehicle_type' ); 
  foreach ($terms as $term) : 
      echo $term-&gt;slug;
      $colors = apply_filters( 'taxonomy-images-get-terms', '', array(
      'taxonomy' =&gt; 'vehicle_type',
          'term_args' =&gt; array(
              'slug' =&gt; $term-&gt;slug,
              )
      ) 
  );
  foreach( (array) $colors as $color) :
      echo wp_get_attachment_image( $color-&gt;image_id, 'full', array('class' =&gt; 'alignnone'));
      //echo $term-&gt;name;
  endforeach;
  
  endforeach;
  ?&gt;
  </code></pre>
  
  <p>But it is showing same path for all images.
  <a href="http://localhost/mototrader/wp-includes/images/media/default.png" rel="nofollow">http://localhost/mototrader/wp-includes/images/media/default.png</a></p>
  
  <p>How could i get actual path of image associated to that taxonomy.</p>
  
  <p>Thanks in advance.</p>