compresses the bg-images to reduce page load