Optimize images to reduce their size.