While learning more about canvas and browser APIs I managed to write a simple script that resizes and compresses images directly in the browser.
It is saving bandwidth and upload time by trading it for computational work on the client side. The code itself is really simple, but if it saves anyone's time, I will be more than happy when they use it.