use image auto resize by google image library