title: Image no longer displays when adding 'id' attribute to image tag
body: <p>I have a grid of images that is generated on a page with PHP. This is the HTML for each image:</p>
  
  <pre><code>Echo "&lt;img src= '$link[Image_Link] . /133x100' title='$row[Item_Name]' alt='$just_name' onClick='addValue(". $credit_value .")' border=0 style='position: relative; top: 0; left: 0;'/&gt;"
  </code></pre>
  
  <p>This is with the ID:</p>
  
  <pre><code>Echo "&lt;id='img1' img src= '$link[Image_Link] . /133x100' title='$row[Item_Name]' alt='$just_name' onClick='addValue(". $credit_value .")' border=0 style='position: relative; top: 0; left: 0;'/&gt;"
  </code></pre>
  
  <p>The <code>src</code>, <code>title</code>, <code>alt</code>, etc attributes are being correctly set. </p>
  
  <p>If I try to add any kind of <code>id</code>, for example: <code>&lt;id="img" src=....</code> it seems to break the HTML code and the image will no longer appear. </p>
  
  <p>Why is this happening? I need the images to have an id so I can use them with jquery functions. </p>