Client side resample ? I would love to know how they do that. With AJAX it does not seem possible.
I think Facebook uses Java for this bit (not totally sure, and I don't want to have to log in just to check)
particularly annoying when uploading to S3, since you have to go client->server->client->server->S3.