find the position of the image.