Pre-sizing your image assets can be a pain, not only do you have to do it for every single one, you have to re-do it when the design spec changes and whenever the source image is revised. It sucks. Wouldn’t it be great if the images just resized themselves? Well thats what the Directory Image Resizer Does.
Directory Image Resizer is a script that lives in your images directory and, with a neat and clear pseudo directory, resizes all your local and remote images for you. Simple to use and understand DIR works transparently and without ugly get variables.
Check out the Directory Image Resizer example page and take a look at what it can do and how it does it. If you want to use it yourself, or just want to poke around and see the code, head on over to the github page and fork it.