Returns new image URL and adds an error page.