replaced prev images with compressed