title: Technique for setting images path?
body: <p>Example:</p>
  
  <pre><code>&lt;img src="/images/name.jpg" alt="" /&gt;
  </code></pre>
  
  <p>This is what I want:</p>
  
  <pre><code>&lt;img src="name.jpg" alt="" /&gt;
  </code></pre>
  
  <p>Upon request for the image, the image will not be found because it is in the "images" directory and not in the root where the HTML file is.</p>
  
  <p>Is there a way htaccess or any other technique will be able to recognise the http image request and rewrite it with the the path (/images/) prepended?</p>
  
  <p>For example when htaccess reads the extension (.jpg) can it say something like</p>
  
  <blockquote>
    <p>Hey .jpg you're an image, let's prepend the images path and send you back to the client</p>
  </blockquote>
  
  <p>Thanks in advance!</p>