adjust the size of image,bracket error