Suppose that the image of $\gamma$ contains three noncollinear points $A_k=\gamma(a_k) (k=1,2,3)$.
Let $s\in{\mathbb R}$. If we put $\eta_s(t)=\gamma(s+t)$, then we have $d(\eta_s(t_1),\eta_s(t_2))=d(\gamma(t_1),\gamma(t_2))$ for any $t_1,t_2$. By a well-known exercise, there is a isometry of $\mathbb R^2$ sending each $\gamma(t)$ to the corresponding $\eta_s(t)$. This isometry is in fact unique because an isometry is uniquely determined by its values on the three points $A_1,A_2,A_3$.
We shall denote this unique isometry by $R_s$ ; the fundamental equation is then
$$
\gamma(x+t)=R_t(\gamma(x)) \tag{1}
$$
Evaulating $\gamma(x+t_1+t_2)$ in two ways using (1), we deduce
$$
R_{t_1+t_2}=R_{t_1} \circ R_{t_2} \tag{2}
$$
If $R_1$ is a rotation with center $W$ and angle $\theta$, it is easy
to see that $R_t$ is the rotation with center $W$ and angle $t\theta$ (do it first for rational $t$ by algebra, then extend to all of $\mathbb R$ using the continuity of $\gamma$). It follows then from (1) that the image of $\gamma$ is a circle centered at $W$.
If $R_1$ is a translation with vector $v$, it is easy
to see that $R_t$ is the translation with vector $tv$ (do it first for rational $t$ by algebra, then extend to all of $\mathbb R$ using the continuity of $\gamma$). It follows then from (1) that the image of $\gamma$ is a line directed by $v$.
APPENDIX: The well-known exercise.
Theorem. Let $X$ be a set, and let $\eta,\gamma$ be two maps
$\eta : X \to {\mathbb R}^a, \gamma : X \to {\mathbb R}^b$ be two that are "isometric", i.e. we have $d(\eta(x),\eta(x'))=d(\gamma(x),\gamma(x'))$ for any $x,x'\in X$.
Then there is an isometry $i$ (from an affine subspace of ${\mathbb R}^a$ to an affine subspace of ${\mathbb R}^b$ sending $\gamma$ to $\eta$, i.e. $i(\gamma(x))=\eta(x)$ for any $x\in X$.
Proof : We may assume that $X$ is nonempty. Let $x_0 \in X$. Composing $\gamma$ and $\eta$ on the left with translations, we can assume that $\gamma(x_0)=\eta(x_0)=0$, which reduces the initial "affine" problem to a purely "vectorial" one.
The advantage of this reduction is that all this distance stuff may be reformulated in terms of the scalar product (using the formula $\langle u,v\rangle=\frac{d(u,0)^2+d(v,0)^2-d(u,v)^2}{2}$) : we now have $(*) : \langle\eta(x),\eta(x')\rangle=\langle\gamma(x),\gamma(x')\rangle$ for any $x,x'\in X$.
Decreasing $a$ and $b$ if necessary, we may assume that $\gamma(X)$ spans all of ${\mathbb R}^a$ and $\eta(X)$ spans all of ${\mathbb R}^b$.
There is a $X_0 \subseteq X$ with cardinality $a$, such that $\gamma(X_0)$ is a basis of ${\mathbb R}^a$. Write $X_0=\lbrace x_1,x_2,\ldots,x_a \rbrace$, and put $g_k=\gamma(x_k) (0\leq k \leq a)$, so that for example $g_0=0$.
Because of (*), the unique linear map $i$ sending $g_k$ to $\eta(x_k)$ is in fact an isometry. Finally, for any $x\in X$ the two vectors $i(\gamma(x))$ and $\eta(x)$ are the same, because they have the same coordinates in the system defined by $(\eta(x_1),\ldots,\eta(x_k))$. This finishes the proof.