Add JPEG compression & resizing; improve general upload experience