title: wordpress //bloginfo\\ function not echoing output on parts of the pages
body: <p>im having a bit of a problem with <code>php bloginfo</code> ive never had before with with wordpress....not sure how to go about it.</p>
  
  <p>normally i use <code>&lt;?php bloginfo('template_directory'); ?&gt;/rest of link 4 img here</code></p>
  
  <p>but for some reason now it doesn't work. when i view source, its not echoing out the link like its supposed to and it just comes out as <code>"src="/images/pic name here"</code></p>
  
  <p>ive tried using <code>get_bloginfo('stylesheet_directory');</code> etc</p>
  
  <p>i even saw some post here on SO that tried to somehow concatenate the get_bloginfo with the link like this</p>
  
  <p>
  
  <p>And again, the weird thing is that i define my external assets the same way.
  like this for example</p>
  
  <pre><code>&lt;link rel="stylesheet" href="&lt;?php bloginfo('template_directory'); ?&gt;/scripts_n_css/css/default.css" type="text/css" media="screen" /&gt;
  </code></pre>
  
  <p>any ideas as to whats going on? Thanks in advanced.</p>
  
  <p>EDIT*** So if you take a look at this site im working on, <a href="http://www.islandlivingpatio.com/?page_id=48" rel="nofollow">http://www.islandlivingpatio.com/?page_id=48</a> the images dont load up. When i inspect with FireBug, it says "failed to load given url"
  but the thing works on my local host.</p>
  
  <p>This is what the sites image and the url it goes to look like.</p>
  
  <pre><code>&lt;a href="&lt;?php echo bloginfo('url');?&gt;/?page_id=775"&gt;&lt;img src="&lt;?php bloginfo("template_directory");?&gt;/images/Lynx.gif" alt="castandtubular"/&gt;&lt;/a&gt;
  </code></pre>
  
  <p>And again, theY DO work on my local machine. When you click that images alt tag(since its the only thing showing up" then the next page also fails to load the images.</p>
  
  <p>Any ideas as to whats going on?</p>