make the size is same as the image size