I need an application which allows me to upload images. I've already developed one which can take a file and put it on my server using PHP. However, I'd like to automatically process these images which are being uploaded, such as compress them to a 100px x 100px jpeg.

Any idea how I'd do this?