Img resize test.