A space
is locally connected if for each
every neighbourhood of
is connected.
Consider the set
the graph of which is shown below.

For any
consists of an infinite disconnected sections of curve so
is connected but not locally connected.
is a continuous image of the connected set
the property of being locally connected is not a topological property.