optimize images and fix broken link