Optimize images.