resize the image so it loads faster