outputUrl() returns the output option if specified, else the edited existing image url. (cherry picked from commit 00187754)