If $X \xrightarrow{f} Y$ is a morphism of schemes then the scheme theoretic image of $f$ is the smallest closed subscheme $Z \subset Y$ through which $f$ factors through.
Is this notion defined for algebraic stacks (at least under reasonable assumptions)? If so, can someone provide a reference?