title: magento want to edit "catalog category link" widget to display image of the specific category too
body: <p>magento want to edit "catalog category link" widget to display image of the specific category too.
  i tried editing the 'category/widget/link/link_block.phtml'</p>
  
  <pre><code>&lt;?php
  $_category  = $this-&gt;getCurrentCategory();
  ?&gt;
  &lt;span class="widget widget-category-link"&gt;
    &lt;a &lt;?php echo $this-&gt;getLinkAttributes() ?&gt;&gt;
      &lt;span&gt;&lt;?php echo $this-&gt;htmlEscape($this-&gt;getAnchorText()) ?&gt;&lt;/span&gt;
      &lt;img src="&lt;?php echo $_category-&gt;getImageUrl();?&gt;" /&gt;
    &lt;/a&gt;
    &lt;br/&gt;
  &lt;/span&gt;
  </code></pre>