All image src request to php script
<p>I want to resize a image using server side script (eg: <a href="http://shiftingpixel.com/2008/03/03/smart-image-resizer/" rel="nofollow">Smart Image Resizer</a> ), so it will send request to a script called image.php</p>

<pre><code>&lt;img src="/image.php/media/bg.jpg?width=320&amp;height=240"/&gt;
</code></pre>

<p>So script will take image and its dimensions for cropping.Instead of sending request to image.php or any server scripting  why cant i pass all the img src request to image.php automatically. Using .htaccess or something?</p>

<pre><code>&lt;img src="/media/bg.jpg?width=320&amp;height=240"/&gt;
</code></pre>

<blockquote>
<pre><code> And some config should automatically take it in and pass this
</code></pre>
  
  <p>to your image resizer script and
  return the image result. Is it
  possible?</p>
</blockquote>

<p>Thanks</p>
