Continuous image of a locally connected space which is not locally connected
Boring example: any space $X$ is the continuous image of the discrete topology on $X$ (using the identity and noting that any function with a discrete domain is continuous). A discrete space is trivially locally connected (all singleton sets). Now let $X$ be any non-locally connected space.
Consider the following variant on the topologist's sine curve.
This space $X$ consists of the graph of $y = \sin(\pi/x)$ for $0<x<1$, together with a closed arc from the point $(1,0)$ to $(0,0)$. Note that $X$ is not locally connected at $(0,0)$.
However, there exists a continuous surjection $f\colon [0,2)\to X$. Specifically, $f(0) = (0,0)$ and $f(1) = (1,0)$, with $f(t)$ following along the bottom curve for $0\leq t\leq 1$. For $t>1$, the function follows along the sine curve, i.e. $$ f(t) \;=\; \left(2-t,\sin\left(\frac{\pi}{2-t}\right)\right)\qquad\text{for }t> 1. $$