How to resize images on the fly in PHP
<p>I have a <code>php</code> page that has a lot of images. And depending on the client window size the image size changes. For my specific scenario, I need the image width to be exactly the size of the <code>div</code> it's in (like pixel-to-pixel).</p>

<p>So basically, how do I load the different sizes of the image? I cant create all the possible width's of the image beforehand.</p>

<p>Is there a way to do this resizing dynamically?</p>