title: Displaying an image from a href
body: <pre><code>&lt;a href="image.jpg"&gt;image.jpg&lt;/a&gt;
  </code></pre>
  
  <p>There is a load of lines like this with different pictures. 
  What i need to do is to make a script of some sort that would allow displaying those images without the need to write anything new in the body (it has to find the files from href's and display them ... without causing any more work for a person who puts those pictures there) and without the need to reorganize files (those files are tied to many other things ... change in the directory = everything crashes)
  but i cant just find much ... most of the scripts i find requires me to place files in a specific folder or even worse ... to make img src tags for them</p>
  
  <p>Can anyone point me towards some solution here ? </p>