How to add a static image to theme? I'm very amateur in theming. Using Basic theme for Drupal 6, I try to add an image to the very top of the page. (Something like repeating flags here) 
However, when I add 

&lt;img src="images/flags.png"/&gt;


to the upper side of page.tpl.php, the image has proper permissions but does not show up. No surprise though since the image is hyperlinked as 

http:// 127.0.0.1/drupal6/content/images/flags.png


I have also tried defining a  div class="flags" at the top of page.tpl.php and then introduce the image as the div's background-image url('images/flags.png'). No success either.

Direct insertion of static images used to work on my other theme. So got really perplexed and appreciate your help.
Put all your theme images in a directory in your theme; let's call it img.

Then you can load them like so:

&lt;img src="&lt;?php echo drupal_get_path('theme', 'THEME_NAME'); ?&gt;/img/flags.png"&gt;


Hope this helps.

(More info at drupal_get_path();)