This is an automator script saved as an application for converting images to a web-ready format. Download and unzip the application, then drag your photos onto it: the converted photos will be placed on your desktop.
Inspiration for this program can be found on Friendfeed here. It should work in Mac OS X 10.4 and 10.5: hopefully it works for you!