I am currently still on a local installation and have not been able to link to an image directly using <img src=""> inside a page.
To keep true photo images and site design stuff separate, I created a folder /res (short for resources) in the root of the theme (thus on the same level as /images)
I can link to these files in /res fine through CSS.
On a few pages I wish to insert an accent icon or bullet from /res into the text and can't seem to get the path right ... or end up with php code not executing.
a) manual method, relative path, no image shown
<img src="/res/gif/bullet_info_sq.gif" alt="" />
and
<img src="res/gif/bullet_info_sq.gif" alt="" />
b) php method, no image shown
<img src="<?php bloginfo('url');?>/images/audio.jpg">
ends up as
<img src="<?php bloginfo('url');?>/images/audio.jpg”>
in the output html.
that last part being: /audio.jpg & # 8 2 2 1 ; >
without spaces.
How can I make sure the php bloginfo works properly?
Could this not functioning be related other php code in page.php.
I do have an if else routine to eliminate the sidebar on some pages and to switch class=narrowcolumn to class=onecolumn.
WordPress 2.7. Kubrick. CSS modified.
Highly appreciate your help and insight.