Displaying an image in a text widget in wordpress

I would like to display a image (stored on my own website) in a text widget.

I typed the following code in a text widget in the wp-admin interface:

Read More
<b>See on the map</b> <br> <i>Get Directions</i>
<IMG SRC="<?php 
  bloginfo('template_directory'); ?>/buon-appetitoDrottingatan.jpg"         
   ALT="Buon Appetito!" WIDTH=170 HEIGHT=130px>

    <br>Drottingatan, 67 Stockholm, Tel: 08-11-22-33

But the picture is not displayed. What is the path to the text widget?

Thanks in advance

Related posts

Leave a Reply

2 comments

  1. you cant use php inside the text widget you will have to hard code the img straight into it.

    ie:

    <b>See on the map</b> <br> <i>Get Directions</i>
    <img src="http://yoursite.com/wp-content/themes/yourthemefolder/buon-appetitoDrottingatan.jpg" alt="Buon Appetito!" width="170" height="130px" />
    <br>Drottingatan, 67 Stockholm, Tel: 08-11-22-33
    

    either that or host the file on a image hosting site and link through from that..