Image distance dᵢ vs object distance dₒ for the current element and focal length. The moving dot is your current setup; as the object nears the focal length f the curve shoots to infinity (the dashed line), then reappears on the negative side — where the image becomes virtual. This is 1/f = 1/dₒ + 1/dᵢ drawn as a picture.