A smart Javascript thumbnail generator and image compressor.