compress first 10 images