title: How to display an image with URL parameters with PHP
body: <p>I'm in the process of changing hosts and have ran into an issue displaying images. On the current host, images are served up with:</p>
  
  <pre><code>&lt;img id="i1877" src="http://somewebsite.com/images/photo-shoots/XLIscjDrEAdkhzAeDsBrXIedV.jpeg?w=200&amp;h=200"&gt;
  </code></pre>
  
  <p>However, on the new host, it won't accept the src attribute with the URL dimension parameters. All images are stored on the server in the path format:</p>
  
  <pre><code>/path/to/image/XLIscjDrEAdkhzAeDsBrXIedV.jpeg200x200
  /path/to/image/XLIscjDrEAdkhzAeDsBrXIedV.jpeg500x500
  /path/to/image/XLIscjDrEAdkhzAeDsBrXIedV.jpeg1000x1000
  </code></pre>
  
  <p>Is there an Apache2 mod or something that translates from the URL encoded src to the dimensions appended on the end of the filename? I've never seen a system set up like this and just inherited this project, so any help would be much appreciated! Thanks in advance!</p>