Don’t use a relative URL. If you look at the source you are probably trying to load the image from http://sitename.com/images/
when what you likely want is http://sitename.com/wp-content/themes/themename/images/
. Assuming the image is in the theme directory in a folder that shares a directory with style.css
, do this:
<img id="topL" src="https://wordpress.stackexchange.com/questions/78271/<?php echo get_stylesheet_directory_uri(); ?>/images/img01.png"/>
http://codex.wordpress.org/Function_Reference/get_stylesheet_directory_uri
3
solved How to place an image into header.php? [closed]