title: How to redirect any picture filetype to a php file of the same name?
body: <p>Im trying to build a Image sharing site(Mostly for fun).
  so my current predicament is how to make any image i have redirect to a php file of the same name.</p>
  
  <p>I.E</p>
  
  <pre><code>      www.example.com/folder/fuzzycat.jpg
  
        Should goto
  
        www.example.com/folder/fuzzycat.php
  </code></pre>
  
  <p>That way i can css and JS it to my heart's content.
  i'm trying to do it with the <b>.htaccess</b> file so i'm not having to implement some framework or anything that would slow my site.</p>
  
  <p>Thank You.</p>