replace screenshot with optimized image