$\DeclareMathOperator{\Im}{Im}$
Provide an example where $S$ is not path connected, $f:S\longrightarrow T$ is continuous and $\Im{f}$ is path connected.
Let $S = [0,1] \cup \{2\} \subset \mathbb{R}$, $T=\mathbb{R}$. Let $f:S \longrightarrow T$ be given by, $$f(s) = \begin{cases} s & 0\leq s \leq 1 \\ s-1 & s=2 \end{cases} $$
Then $f$ is continuous and $\Im{f}=[0,1]$ is obviously path connected.
Is this example correct? Are there simpler examples?
A simpler example: take $f$ constant.