title: I'm developing a wordpress theme and using custom fields. I've got the following code:
body: <pre><code>&lt;img src="&lt;?php echo get_post_meta($post-&gt;ID, 'thumbnail', true);?&gt;" alt="Post Pic" width="615" height="275" /&gt;&lt;/a&gt;
  </code></pre>
  
  <p>That code is giving this:</p>
  
  <pre><code>&lt;img src="" alt="Post Pic" width="615" height="275"&gt;
  </code></pre>
  
  <p>Any ideas to why the image is not displaying correctly?</p>