Optimize images and fix any broken image links