compress images, remove unused imgs