\begin{align} im(F)&=\\{(x-y,y-z,z-x) \mid x,y,z\in\mathbb{R}\\}\\\ &=\\{x(1,0,-1)+y(-1,1,0)+z(0,-1,1) \mid x,y,z\in\mathbb{R}\\}\\\ &=span\\{(1,0,-1),(-1,1,0),(0,-1,1)\\}\\\ &=span\\{(1,0,-1),(-1,1,0)\\}\\\ \end{align}
Show that $\\{(1,0,-1),(-1,1,0)\\}$ is linearly independent and you've got yourself a basis.
There's general way to figure out a basis for a spanning set which involves building a matrix whose rows are the vectors spanning the set, and then subsequently row reducing the matrix.