Optimizing the images.