support resumable downloads (currently not for images resized)