Replace links to images with img elements w/ jQuery
<p>Using jQuery, I'm trying to replace all links to images (.jpg, .png, .tiff, .gif) within a certain div with <strong>img</strong> elements to show the image instead of linking to it.</p>

<p>Eg. it would change</p>

<pre><code>&lt;a href="http://domain.com/image.jpg"&gt;Any Text Here&lt;/a&gt;
</code></pre>

<p>to</p>

<pre><code>&lt;img src="http://domain.com/image.jpg"/&gt;
</code></pre>

<p>Thank you so much in advance :)</p>
