title: How do I link to images in WordPress that I've uploaded?
body: <p>I've gathered that I upload the images to <code>wp-content/uploads</code>, but once there, how do I link to it in my template files?</p>
  
  <p>If I created a new template after putting, say, <code>dog.jpg</code> in that uploads directory, <code>&lt;img src="dog.jpg" /&gt;</code> does not work - the image doesn't display.</p>
  
  <p>I read <code>&lt;?php bloginfo('template_directory'); ?&gt;</code> should be inserted (I guess?), but putting it before <code>dog.jpg</code> in the <code>src</code> does not help.</p>