The second part of your request is already supported by smushit. It is how yslow passes the list of images to be optimized.
Sent from my iPhone
Hi, I want to generate links to Smushit so that visitors can optimize images online. I can very much understand if you don't want allow links that trigger immediate optimization (although that also would be great), however it would be very nice if you can at least allow links that fill in the textarea with default URLs, so that the visitors can then complete the process by clicking on the "Smush" button.
For example the URLs might look something like this: http://www.smushit.com/?url-list=http%3A%2F%2Fexample.com%2Fabc.jpg,http%3A%2F%2Fexample.com%2Fxyz.jpg
Best Regards
N.E.