Replacing the image within an image src tag
<p>I have the following situation, I have an html file with image tags about 10 or more, but it varies. Now what I want to achieve is to replace the image src with a PHP function as example below</p>

<p>I want to replace something like this </p>

<pre><code>&lt;img src="image1.png" .... 
&lt;img src="image2.png" .... 
</code></pre>

<p>with this</p>

<pre><code>&lt;img src="&lt;?=imageResize('image1.png',20,15)?&gt;" ...
&lt;img src="&lt;?=imageResize('image2.png',20,15)?&gt;" ..`.
</code></pre>

<p>Is this possible?</p>
