I'm hoping this is true because I've been told that "the rank of a transformation is the dimension of its image", and also that "the rank of a transformation is the dimension of its range". This doesn't make sense if range and image aren't the same thing, so I'm just wanting to be completely sure.
Furthermore, does codomain refer to the image of the transformation or to the vector space to which the images of the transformation are brought?
You have correctly observed that usage varies and there is no standard definition.
I have always seen, used, and taught that if $$f:X\to Y$$ then $X$ is the domain of $f$, $Y$ is the range of $f$, and $f(X)$ is the image of $f$.
But I also point out that others use “codomain” for $Y$ and “range” for $f(X)$.